AWS code-library documentation change
Summary
Added PowerShell V5 example for CreateVpc with CIDR block
Security assessment
Demonstrates basic VPC creation without security-focused configurations like network ACLs or security groups. No security-specific guidance added.
Diff
diff --git a/code-library/latest/ug/ec2_example_ec2_CreateVpc_section.md b/code-library/latest/ug/ec2_example_ec2_CreateVpc_section.md index c91350497..3fd601f20 100644 --- a//code-library/latest/ug/ec2_example_ec2_CreateVpc_section.md +++ b//code-library/latest/ug/ec2_example_ec2_CreateVpc_section.md @@ -263,0 +264,25 @@ PowerShell +**Tools for PowerShell V5** + + +**Example 1: This example creates a VPC with the specified CIDR. Amazon VPC also creates the following for the VPC: a default DHCP options set, a main route table, and a default network ACL.** + + + New-EC2VPC -CidrBlock 10.0.0.0/16 + + +**Output:** + + + CidrBlock : 10.0.0.0/16 + DhcpOptionsId : dopt-1a2b3c4d + InstanceTenancy : default + IsDefault : False + State : pending + Tags : {} + VpcId : vpc-12345678 + + * For API details, see [CreateVpc](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. + + + +