AWS ec2 documentation change
Summary
Added PowerShell V5 example for launching Scheduled Instances with IAM roles and security groups
Security assessment
Example includes security group and IAM role usage but does not indicate resolution of a security flaw.
Diff
diff --git a/ec2/latest/devguide/example_ec2_RunScheduledInstances_section.md b/ec2/latest/devguide/example_ec2_RunScheduledInstances_section.md index 9b706469d..0c1d09bc4 100644 --- a//ec2/latest/devguide/example_ec2_RunScheduledInstances_section.md +++ b//ec2/latest/devguide/example_ec2_RunScheduledInstances_section.md @@ -113,0 +114,19 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example launches the specified Scheduled Instance.** + + + New-EC2ScheduledInstance -ScheduledInstanceId sci-1234-1234-1234-1234-123456789012 -InstanceCount 1 ` + -IamInstanceProfile_Name my-iam-role ` + -LaunchSpecification_ImageId ami-12345678 ` + -LaunchSpecification_InstanceType c4.large ` + -LaunchSpecification_SubnetId subnet-12345678` + -LaunchSpecification_SecurityGroupId sg-12345678 + + + * For API details, see [RunScheduledInstances](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +