SubnetState constructor
- Input<
String?> ? arn, - Input<
bool?> ? assignIpv6AddressOnCreation, - Input<
String?> ? availabilityZone, - Input<
String?> ? availabilityZoneId, - Input<
String?> ? cidrBlock, - Input<
String?> ? customerOwnedIpv4Pool, - Input<
bool?> ? enableDns64, - Input<
int?> ? enableLniAtDeviceIndex, - Input<
bool?> ? enableResourceNameDnsARecordOnLaunch, - Input<
bool?> ? enableResourceNameDnsAaaaRecordOnLaunch, - Input<
String?> ? ipv4IpamPoolId, - Input<
int?> ? ipv4NetmaskLength, - Input<
String?> ? ipv6CidrBlock, - Input<
String?> ? ipv6CidrBlockAssociationId, - Input<
String?> ? ipv6IpamPoolId, - Input<
bool?> ? ipv6Native, - Input<
int?> ? ipv6NetmaskLength, - Input<
bool?> ? mapCustomerOwnedIpOnLaunch, - Input<
bool?> ? mapPublicIpOnLaunch, - Input<
String?> ? outpostArn, - Input<
String?> ? ownerId, - Input<
String?> ? privateDnsHostnameTypeOnLaunch, - Input<
String?> ? region, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?> - Input<
String?> ? vpcId,
Creates a new SubnetState.
arn The ARN of the subnet.
assignIpv6AddressOnCreation Specify true to indicate
availabilityZone AZ for the subnet.
availabilityZoneId AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use availabilityZone instead.
cidrBlock The IPv4 CIDR block for the subnet.
customerOwnedIpv4Pool The customer owned IPv4 address pool. Typically used with the mapCustomerOwnedIpOnLaunch argument. The outpostArn argument must be specified when configured.
enableDns64 Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: false.
enableLniAtDeviceIndex 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). A local network interface cannot be the primary network interface (eth0).
enableResourceNameDnsARecordOnLaunch Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: false.
enableResourceNameDnsAaaaRecordOnLaunch Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: false.
ipv4IpamPoolId ID of an IPv4 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
ipv4NetmaskLength Netmask. Requires specifying a ipv4IpamPoolId.
ipv6CidrBlock The IPv6 network range for the subnet,
ipv6CidrBlockAssociationId The association ID for the IPv6 CIDR block.
ipv6IpamPoolId ID of an IPv6 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
ipv6Native Indicates whether to create an IPv6-only subnet. Default: false.
ipv6NetmaskLength Netmask. Requires specifying a ipv6IpamPoolId. Valid values are from 44 to 64 in increments of 4.
mapCustomerOwnedIpOnLaunch Specify true to indicate that network interfaces created in the subnet should be assigned a customer owned IP address. The customerOwnedIpv4Pool and outpostArn arguments must be specified when set to true. Default is false.
mapPublicIpOnLaunch Specify true to indicate that instances launched into the subnet should be assigned a public IP address. Default is false.
outpostArn ARN of the Outpost.
ownerId The ID of the AWS account that owns the subnet.
privateDnsHostnameTypeOnLaunch The type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: ip-name, resource-name.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
vpcId The VPC ID.
Implementation
const SubnetState({
this.arn,
this.assignIpv6AddressOnCreation,
this.availabilityZone,
this.availabilityZoneId,
this.cidrBlock,
this.customerOwnedIpv4Pool,
this.enableDns64,
this.enableLniAtDeviceIndex,
this.enableResourceNameDnsARecordOnLaunch,
this.enableResourceNameDnsAaaaRecordOnLaunch,
this.ipv4IpamPoolId,
this.ipv4NetmaskLength,
this.ipv6CidrBlock,
this.ipv6CidrBlockAssociationId,
this.ipv6IpamPoolId,
this.ipv6Native,
this.ipv6NetmaskLength,
this.mapCustomerOwnedIpOnLaunch,
this.mapPublicIpOnLaunch,
this.outpostArn,
this.ownerId,
this.privateDnsHostnameTypeOnLaunch,
this.region,
this.tags,
this.tagsAll,
this.vpcId,
});