Class: VPC

EC2.VPC

new VPC()

Properties:
Name Type Description
CidrBlock String Required: Yes. The CIDR block you want the VPC to cover. For example: "10.0.0.0/16".Update requires: Replacement
EnableDnsSupport Boolean Required: No. Specifies whether DNS resolution is supported for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not. By default the value is set to true.Update requires: No interruption
EnableDnsHostnames Boolean Required: No. Specifies whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not. You can only set EnableDnsHostnames to true if you also set the EnableDnsSupport attribute to true. By default, the value is set to false.Update requires: No interruption
InstanceTenancy String Required: No. The allowed tenancy of instances launched into the VPC. "default": Instances can be launched with any tenancy."dedicated": Any instance launched into the VPC automatically has dedicated tenancy, unless you launch it with the default tenancy.Valid values: "default" or "dedicated"Update requires: Replacement
Tags AWSCloudFormationResourceTags Required: No. An arbitrary set of tags (key–value pairs) for this VPC. To name a VPC resource, specify a value for the Name key.Update requires: No interruption.
Source:

Extends

  • WKResource

EC2.VPC

new VPC()

Properties:
Name Type Description
CidrBlock String Required: Yes. The CIDR block you want the VPC to cover. For example: "10.0.0.0/16".Update requires: Replacement
EnableDnsSupport Boolean Required: No. Specifies whether DNS resolution is supported for the VPC. If this attribute is true, the Amazon DNS server resolves DNS hostnames for your instances to their corresponding IP addresses; otherwise, it does not. By default the value is set to true.Update requires: No interruption
EnableDnsHostnames Boolean Required: No. Specifies whether the instances launched in the VPC get DNS hostnames. If this attribute is true, instances in the VPC get DNS hostnames; otherwise, they do not. You can only set EnableDnsHostnames to true if you also set the EnableDnsSupport attribute to true. By default, the value is set to false.Update requires: No interruption
InstanceTenancy String Required: No. The allowed tenancy of instances launched into the VPC. "default": Instances can be launched with any tenancy."dedicated": Any instance launched into the VPC automatically has dedicated tenancy, unless you launch it with the default tenancy.Valid values: "default" or "dedicated"Update requires: Replacement
Tags AWSCloudFormationResourceTags Required: No. An arbitrary set of tags (key–value pairs) for this VPC. To name a VPC resource, specify a value for the Name key.Update requires: No interruption.
Source:

Extends

  • WKResource