I am trying to launch an aws ec2 instance via cli.

```
aws ec2 run-instances --image-id ami-xxxxxxxx --count 1 \
 --instance-type t2.medium --key-name myKey \
 --security-group-ids sg-yyyyyyyy --subnet-id subnet-mysubnet \ 
 --region us-east-1 --user-data file://myscript

```

While launching I call a shell script that runs some basic commands.
I was wondering if there is a way to pass arguments to this 

```
--user-data file://myscript

```

sample shell script:

```
echo $1
echo $2

```