CfnVPCProps¶
-
class
aws_cdk.aws_ec2.
CfnVPCProps
(*, cidr_block, enable_dns_hostnames=None, enable_dns_support=None, instance_tenancy=None, tags=None)¶ Bases:
object
Properties for defining a
AWS::EC2::VPC
.- Parameters
cidr_block (
str
) –AWS::EC2::VPC.CidrBlock
.enable_dns_hostnames (
Union
[bool
,IResolvable
,None
]) –AWS::EC2::VPC.EnableDnsHostnames
.enable_dns_support (
Union
[bool
,IResolvable
,None
]) –AWS::EC2::VPC.EnableDnsSupport
.instance_tenancy (
Optional
[str
]) –AWS::EC2::VPC.InstanceTenancy
.tags (
Optional
[List
[CfnTag
]]) –AWS::EC2::VPC.Tags
.
- See
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html
Attributes
-
cidr_block
¶ AWS::EC2::VPC.CidrBlock
.
-
enable_dns_hostnames
¶ AWS::EC2::VPC.EnableDnsHostnames
.- See
- Return type
Union
[bool
,IResolvable
,None
]
-
enable_dns_support
¶ AWS::EC2::VPC.EnableDnsSupport
.- See
- Return type
Union
[bool
,IResolvable
,None
]
-
instance_tenancy
¶ AWS::EC2::VPC.InstanceTenancy
.- See
- Return type
Optional
[str
]
AWS::EC2::VPC.Tags
.- See
- Return type
Optional
[List
[CfnTag
]]