AwsEc2SubnetPropertiesArgs

data class AwsEc2SubnetPropertiesArgs(val assignIpv6AddressOnCreation: Output<Boolean>? = null, val availabilityZone: Output<String>? = null, val availabilityZoneId: Output<String>? = null, val cidrBlock: Output<String>? = null, val enableDns64: Output<Boolean>? = null, val enableLniAtDeviceIndex: Output<Int>? = null, val ipv4IpamPoolId: Output<String>? = null, val ipv4NetmaskLength: Output<Int>? = null, val ipv6CidrBlock: Output<String>? = null, val ipv6CidrBlocks: Output<List<String>>? = null, val ipv6IpamPoolId: Output<String>? = null, val ipv6Native: Output<Boolean>? = null, val ipv6NetmaskLength: Output<Int>? = null, val mapPublicIpOnLaunch: Output<Boolean>? = null, val networkAclAssociationId: Output<String>? = null, val outpostArn: Output<String>? = null, val privateDnsNameOptionsOnLaunch: Output<PrivateDnsNameOptionsOnLaunchModelPropertiesArgs>? = null, val subnetId: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<AwsEc2SubnetPropertiesArgs>

Definition of awsEc2Subnet

Constructors

Link copied to clipboard
constructor(assignIpv6AddressOnCreation: Output<Boolean>? = null, availabilityZone: Output<String>? = null, availabilityZoneId: Output<String>? = null, cidrBlock: Output<String>? = null, enableDns64: Output<Boolean>? = null, enableLniAtDeviceIndex: Output<Int>? = null, ipv4IpamPoolId: Output<String>? = null, ipv4NetmaskLength: Output<Int>? = null, ipv6CidrBlock: Output<String>? = null, ipv6CidrBlocks: Output<List<String>>? = null, ipv6IpamPoolId: Output<String>? = null, ipv6Native: Output<Boolean>? = null, ipv6NetmaskLength: Output<Int>? = null, mapPublicIpOnLaunch: Output<Boolean>? = null, networkAclAssociationId: Output<String>? = null, outpostArn: Output<String>? = null, privateDnsNameOptionsOnLaunch: Output<PrivateDnsNameOptionsOnLaunchModelPropertiesArgs>? = null, subnetId: Output<String>? = null, tags: Output<List<TagArgs>>? = null, vpcId: Output<String>? = null)

Properties

Link copied to clipboard

Indicates whether a network interface created in this subnet receives an IPv6 address. The default value is `false`. If you specify `AssignIpv6AddressOnCreation`, you must also specify an IPv6 CIDR block.

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

The Availability Zone of the subnet. If you update this property, you must also update the `CidrBlock` property.

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

The AZ ID of the subnet.

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

The IPv4 CIDR block assigned to the subnet. If you update this property, we create a new subnet, and then delete the existing one.

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

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. For more information, see DNS64 and NAT64 in the User Guide.

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

Indicates the device position for local network interfaces in this subnet. For example, `1` indicates local network interfaces in this subnet are the secondary network interface (eth1).

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

An IPv4 IPAM pool ID for the subnet.

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

An IPv4 netmask length for the subnet.

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

The IPv6 CIDR block. If you specify `AssignIpv6AddressOnCreation`, you must also specify an IPv6 CIDR block.

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

The IPv6 network ranges for the subnet, in CIDR notation.

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

An IPv6 IPAM pool ID for the subnet.

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

Indicates whether this is an IPv6 only subnet. For more information, see Subnet basics in the User Guide.

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

An IPv6 netmask length for the subnet.

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

Indicates whether instances launched in this subnet receive a public IPv4 address. The default value is `false`. AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the VPC pricing page.

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

Property networkAclAssociationId

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

The Amazon Resource Name (ARN) of the Outpost.

Link copied to clipboard

The hostname type for EC2 instances launched into this subnet and how DNS A and AAAA record queries to the instances should be handled. For more information, see Amazon EC2 instance hostname types in the User Guide. Available options: + EnableResourceNameDnsAAAARecord (true | false) + EnableResourceNameDnsARecord (true | false) + HostnameType (ip-name | resource-name)

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

Property subnetId

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

Any tags assigned to the subnet.

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

The ID of the VPC the subnet is in. If you update this property, you must also update the `CidrBlock` property.

Functions

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