CfnVPCProps

class aws_cdk.aws_ec2.CfnVPCProps(*, cidr_block, enable_dns_hostnames=None, enable_dns_support=None, instance_tenancy=None, tags=None)

Bases: object

__init__(*, cidr_block, enable_dns_hostnames=None, enable_dns_support=None, instance_tenancy=None, tags=None)

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

Parameters
  • cidr_block (str) – AWS::EC2::VPC.CidrBlock.

  • enable_dns_hostnames (Union[bool, None, IResolvable]) – AWS::EC2::VPC.EnableDnsHostnames.

  • enable_dns_support (Union[bool, None, IResolvable]) – AWS::EC2::VPC.EnableDnsSupport.

  • instance_tenancy (Optional[str]) – AWS::EC2::VPC.InstanceTenancy.

  • tags (Optional[List[CfnTag]]) – AWS::EC2::VPC.Tags.

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

Attributes

cidr_block

AWS::EC2::VPC.CidrBlock.

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

Return type

str

enable_dns_hostnames

AWS::EC2::VPC.EnableDnsHostnames.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-EnableDnsHostnames

Return type

Union[bool, None, IResolvable]

enable_dns_support

AWS::EC2::VPC.EnableDnsSupport.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-EnableDnsSupport

Return type

Union[bool, None, IResolvable]

instance_tenancy

AWS::EC2::VPC.InstanceTenancy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-instancetenancy

Return type

Optional[str]

tags

AWS::EC2::VPC.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html#cfn-aws-ec2-vpc-tags

Return type

Optional[List[CfnTag]]