VpcArgs

data class VpcArgs(val cidrBlock: Output<String>? = null, val enableDnsHostnames: Output<Boolean>? = null, val enableDnsSupport: Output<Boolean>? = null, val instanceTenancy: Output<String>? = null, val ipv4IpamPoolId: Output<String>? = null, val ipv4NetmaskLength: Output<Int>? = null, val tags: Output<List<VpcTagArgs>>? = null) : ConvertibleToJava<VpcArgs>

Resource Type definition for AWS::EC2::VPC

Constructors

Link copied to clipboard
fun VpcArgs(cidrBlock: Output<String>? = null, enableDnsHostnames: Output<Boolean>? = null, enableDnsSupport: Output<Boolean>? = null, instanceTenancy: Output<String>? = null, ipv4IpamPoolId: Output<String>? = null, ipv4NetmaskLength: Output<Int>? = null, tags: Output<List<VpcTagArgs>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VpcArgs

Properties

Link copied to clipboard
val cidrBlock: Output<String>? = null

The primary IPv4 CIDR block for the VPC.

Link copied to clipboard
val enableDnsHostnames: Output<Boolean>? = null

Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not. Disabled by default for nondefault VPCs.

Link copied to clipboard
val enableDnsSupport: Output<Boolean>? = null

Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is not enabled. Enabled by default.

Link copied to clipboard
val instanceTenancy: Output<String>? = null

The allowed tenancy of instances launched into the VPC. "default": An instance launched into the VPC runs on shared hardware by default, unless you explicitly specify a different tenancy during instance launch. "dedicated": An instance launched into the VPC is a Dedicated Instance by default, unless you explicitly specify a tenancy of host during instance launch. You cannot specify a tenancy of default during instance launch. Updating InstanceTenancy requires no replacement only if you are updating its value from "dedicated" to "default". Updating InstanceTenancy from "default" to "dedicated" requires replacement.

Link copied to clipboard
val ipv4IpamPoolId: Output<String>? = null

The ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR

Link copied to clipboard
val ipv4NetmaskLength: Output<Int>? = null

The netmask length of the IPv4 CIDR you want to allocate to this VPC from an Amazon VPC IP Address Manager (IPAM) pool

Link copied to clipboard
val tags: Output<List<VpcTagArgs>>? = null

The tags for the VPC.