CfnSubnetCidrBlockProps

class aws_cdk.aws_ec2.CfnSubnetCidrBlockProps(*, subnet_id, ipv6_cidr_block=None, ipv6_ipam_pool_id=None, ipv6_netmask_length=None)

Bases: object

Properties for defining a CfnSubnetCidrBlock.

Parameters:
  • subnet_id (str) – The ID of the subnet.

  • ipv6_cidr_block (Optional[str]) – The IPv6 network range for the subnet, in CIDR notation.

  • ipv6_ipam_pool_id (Optional[str]) – An IPv6 IPAM pool ID for the subnet.

  • ipv6_netmask_length (Union[int, float, None]) – An IPv6 netmask length for the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

cfn_subnet_cidr_block_props = ec2.CfnSubnetCidrBlockProps(
    subnet_id="subnetId",

    # the properties below are optional
    ipv6_cidr_block="ipv6CidrBlock",
    ipv6_ipam_pool_id="ipv6IpamPoolId",
    ipv6_netmask_length=123
)

Attributes

ipv6_cidr_block

The IPv6 network range for the subnet, in CIDR notation.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6cidrblock

ipv6_ipam_pool_id

An IPv6 IPAM pool ID for the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6ipampoolid

ipv6_netmask_length

An IPv6 netmask length for the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-ipv6netmasklength

subnet_id

The ID of the subnet.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetcidrblock.html#cfn-ec2-subnetcidrblock-subnetid