CfnVPCCidrBlockProps

class aws_cdk.aws_ec2.CfnVPCCidrBlockProps(*, amazon_provided_ipv6_cidr_block=None, cidr_block=None, ipv6_cidr_block=None, ipv6_pool=None, vpc_id)

Bases: object

Properties for defining a AWS::EC2::VPCCidrBlock.

Parameters
  • amazon_provided_ipv6_cidr_block (Union[bool, IResolvable, None]) – AWS::EC2::VPCCidrBlock.AmazonProvidedIpv6CidrBlock.

  • cidr_block (Optional[str]) – AWS::EC2::VPCCidrBlock.CidrBlock.

  • ipv6_cidr_block (Optional[str]) – AWS::EC2::VPCCidrBlock.Ipv6CidrBlock.

  • ipv6_pool (Optional[str]) – AWS::EC2::VPCCidrBlock.Ipv6Pool.

  • vpc_id (str) – AWS::EC2::VPCCidrBlock.VpcId.

Link

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

Example:

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

cfn_vPCCidr_block_props = ec2.CfnVPCCidrBlockProps(
    vpc_id="vpcId",

    # the properties below are optional
    amazon_provided_ipv6_cidr_block=False,
    cidr_block="cidrBlock",
    ipv6_cidr_block="ipv6CidrBlock",
    ipv6_pool="ipv6Pool"
)

Attributes

amazon_provided_ipv6_cidr_block

AWS::EC2::VPCCidrBlock.AmazonProvidedIpv6CidrBlock.

Link

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

Return type

Union[bool, IResolvable, None]

cidr_block

AWS::EC2::VPCCidrBlock.CidrBlock.

Link

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

Return type

Optional[str]

ipv6_cidr_block

AWS::EC2::VPCCidrBlock.Ipv6CidrBlock.

Link

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

Return type

Optional[str]

ipv6_pool

AWS::EC2::VPCCidrBlock.Ipv6Pool.

Link

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

Return type

Optional[str]

vpc_id

AWS::EC2::VPCCidrBlock.VpcId.

Link

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

Return type

str