AWS::EC2::SubnetCidrBlockThe AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR
4 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
SubnetId | string | RequiredCreate-only |
Ipv6CidrBlock | string | Create-only |
Ipv6IpamPoolId | string | Create-onlyWrite-only |
Ipv6NetmaskLength | integer | Create-onlyWrite-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
Id | string | Information about the IPv6 association. |
IpSource | string | The IP Source of an IPv6 Subnet CIDR Block. |
Ipv6AddressAttribute | string | The value denoting whether an IPv6 Subnet 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::SubnetCidrBlock
Resources:
MyResource:
Type: AWS::EC2::SubnetCidrBlock
Properties:
SubnetId: "my-subnetid"Permissions CloudFormation needs in your IAM role to manage this resource.
ec2:AssociateSubnetCidrBlockec2:DescribeSubnetsec2:DisassociateSubnetCidrBlockec2:DescribeSubnetsec2:DescribeSubnetsec2:DescribeSubnetsEverything 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.
Ipv6CidrBlockSubnetIdIpv6IpamPoolIdIpv6NetmaskLength