AWS::EC2::VPCCidrBlockResource Type definition for AWS::EC2::VPCCidrBlock
10 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
VpcId | string | RequiredCreate-only |
AmazonProvidedIpv6CidrBlock | boolean | Create-only |
CidrBlock | string | Create-only |
Ipv4IpamPoolId | string | Create-onlyWrite-only |
Ipv4NetmaskLength | integer | Create-onlyWrite-only |
Ipv6CidrBlock | string | Create-only |
Ipv6CidrBlockNetworkBorderGroup | string | Create-only |
Ipv6IpamPoolId | string | Create-onlyWrite-only |
Ipv6NetmaskLength | integer | Create-onlyWrite-only |
Ipv6Pool | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | The Id of the VPC associated CIDR Block. |
IpSource | string | The IP Source of an IPv6 VPC CIDR Block. |
Ipv6AddressAttribute | string | The value denoting whether an IPv6 VPC CIDR Block is public or private. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::VPCCidrBlock
Resources:
MyResource:
Type: AWS::EC2::VPCCidrBlock
Properties:
VpcId: "my-vpcid"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:AssociateVpcCidrBlockec2:DescribeVpcsec2:AllocateIpamPoolCidrec2:DescribeVpcsec2:DescribeVpcsec2:DisassociateVpcCidrBlockec2:DescribeVpcsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
Ipv6PoolVpcIdAmazonProvidedIpv6CidrBlockIpv6CidrBlockCidrBlockIpv4IpamPoolIdIpv4NetmaskLengthIpv6IpamPoolIdIpv6NetmaskLengthIpv6CidrBlockNetworkBorderGroup