title: How to run a python script file in AWS CLI
body: <p>I'm trying to run a python script file while in the AWS CLI.  Does anyone have the syntax for that please?  I've tried a few variations but without success:</p>
  <p><code>aws ssm send-command --document-name &quot;AWS-RunShellScript&quot; --parameters commands=[&quot;/Documents/aws_instances_summary.py&quot;]</code></p>
  <p>I'm not looking to connect to a particular EC2 instance as the script gathers information about all instances</p>