SubnetState class

Input properties used for looking up and filtering Subnet resources.

Constructors

SubnetState({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<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, 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.
const
SubnetState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
The ARN of the subnet.
final
assignIpv6AddressOnCreation → Input<bool?>?
Specify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. Default is false
final
availabilityZone → Input<String?>?
AZ for the subnet.
final
availabilityZoneId → Input<String?>?
AZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, use availabilityZone instead.
final
cidrBlock → Input<String?>?
The IPv4 CIDR block for the subnet.
final
customerOwnedIpv4Pool → Input<String?>?
The customer owned IPv4 address pool. Typically used with the mapCustomerOwnedIpOnLaunch argument. The outpostArn argument must be specified when configured.
final
enableDns64 → Input<bool?>?
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.
final
enableLniAtDeviceIndex → Input<int?>?
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).
final
enableResourceNameDnsAaaaRecordOnLaunch → Input<bool?>?
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: false.
final
enableResourceNameDnsARecordOnLaunch → Input<bool?>?
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: false.
final
hashCode int
The hash code for this object.
no setterinherited
ipv4IpamPoolId → Input<String?>?
ID of an IPv4 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
final
ipv4NetmaskLength → Input<int?>?
Netmask. Requires specifying a ipv4IpamPoolId.
final
ipv6CidrBlock → Input<String?>?
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length. If the existing IPv6 subnet was created with assignIpv6AddressOnCreation = true, changing this value will force resource recreation.
final
ipv6CidrBlockAssociationId → Input<String?>?
The association ID for the IPv6 CIDR block.
final
ipv6IpamPoolId → Input<String?>?
ID of an IPv6 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.
final
ipv6Native → Input<bool?>?
Indicates whether to create an IPv6-only subnet. Default: false.
final
ipv6NetmaskLength → Input<int?>?
Netmask. Requires specifying a ipv6IpamPoolId. Valid values are from 44 to 64 in increments of 4.
final
mapCustomerOwnedIpOnLaunch → Input<bool?>?
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.
final
mapPublicIpOnLaunch → Input<bool?>?
Specify true to indicate that instances launched into the subnet should be assigned a public IP address. Default is false.
final
outpostArn → Input<String?>?
ARN of the Outpost.
final
ownerId → Input<String?>?
The ID of the AWS account that owns the subnet.
final
privateDnsHostnameTypeOnLaunch → Input<String?>?
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.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
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.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
vpcId → Input<String?>?
The VPC ID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited