AWS ec2 documentation change
Summary
Added PowerShell V5 example for creating network interfaces with security groups
Security assessment
Shows security group association which is a security feature, but doesn't address specific vulnerabilities
Diff
diff --git a/ec2/latest/devguide/example_ec2_CreateNetworkInterface_section.md b/ec2/latest/devguide/example_ec2_CreateNetworkInterface_section.md index 7ec121d4e..2d9ad2dc4 100644 --- a//ec2/latest/devguide/example_ec2_CreateNetworkInterface_section.md +++ b//ec2/latest/devguide/example_ec2_CreateNetworkInterface_section.md @@ -261,0 +262,36 @@ PowerShell + + + + +**Tools for PowerShell V5** + + +**Example 1: This example creates the specified network interface.** + + + New-EC2NetworkInterface -SubnetId subnet-1a2b3c4d -Description "my network interface" -Group sg-12345678 -PrivateIpAddress 10.0.0.17 + + +**Output:** + + + Association : + Attachment : + AvailabilityZone : us-west-2c + Description : my network interface + Groups : {my-security-group} + MacAddress : 0a:72:bc:1a:cd:7f + NetworkInterfaceId : eni-12345678 + OwnerId : 123456789012 + PrivateDnsName : ip-10-0-0-17.us-west-2.compute.internal + PrivateIpAddress : 10.0.0.17 + PrivateIpAddresses : {} + RequesterId : + RequesterManaged : False + SourceDestCheck : True + Status : pending + SubnetId : subnet-1a2b3c4d + TagSet : {} + VpcId : vpc-12345678 + + * For API details, see [CreateNetworkInterface](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_.