AWS code-library documentation change
Summary
Added PowerShell V5 example for EBS snapshot creation
Security assessment
Basic snapshot creation example without security-specific documentation or vulnerability addressing
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_CreateSnapshot_section.md b/code-library/latest/ug/ec2_example_ec2_CreateSnapshot_section.md index 3804ebfcb..8e52a99b0 100644 --- a//code-library/latest/ug/ec2_example_ec2_CreateSnapshot_section.md +++ b//code-library/latest/ug/ec2_example_ec2_CreateSnapshot_section.md @@ -117,0 +118,32 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example creates a snapshot of the specified volume.** + + + New-EC2Snapshot -VolumeId vol-12345678 -Description "This is a test" + + +**Output:** + + + DataEncryptionKeyId : + Description : This is a test + Encrypted : False + KmsKeyId : + OwnerAlias : + OwnerId : 123456789012 + Progress : + SnapshotId : snap-12345678 + StartTime : 12/22/2015 1:28:42 AM + State : pending + StateMessage : + Tags : {} + VolumeId : vol-12345678 + VolumeSize : 20 + + * For API details, see [CreateSnapshot](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +