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< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>String?> ? vpcId}) -
Creates a new SubnetState.
arnThe ARN of the subnet.assignIpv6AddressOnCreationSpecify true to indicateavailabilityZoneAZ for the subnet.availabilityZoneIdAZ ID of the subnet. This argument is not supported in all regions or partitions. If necessary, useavailabilityZoneinstead.cidrBlockThe IPv4 CIDR block for the subnet.customerOwnedIpv4PoolThe customer owned IPv4 address pool. Typically used with themapCustomerOwnedIpOnLaunchargument. TheoutpostArnargument must be specified when configured.enableDns64Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default:false.enableLniAtDeviceIndexIndicates 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).enableResourceNameDnsARecordOnLaunchIndicates whether to respond to DNS queries for instance hostnames with DNS A records. Default:false.enableResourceNameDnsAaaaRecordOnLaunchIndicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default:false.ipv4IpamPoolIdID of an IPv4 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.ipv4NetmaskLengthNetmask. Requires specifying aipv4IpamPoolId.ipv6CidrBlockThe IPv6 network range for the subnet,ipv6CidrBlockAssociationIdThe association ID for the IPv6 CIDR block.ipv6IpamPoolIdID of an IPv6 VPC Resource Planning IPAM Pool. The CIDR of this pool is used to allocate the CIDR for the subnet.ipv6NativeIndicates whether to create an IPv6-only subnet. Default:false.ipv6NetmaskLengthNetmask. Requires specifying aipv6IpamPoolId. Valid values are from 44 to 64 in increments of 4.mapCustomerOwnedIpOnLaunchSpecifytrueto indicate that network interfaces created in the subnet should be assigned a customer owned IP address. ThecustomerOwnedIpv4PoolandoutpostArnarguments must be specified when set totrue. Default isfalse.mapPublicIpOnLaunchSpecify true to indicate that instances launched into the subnet should be assigned a public IP address. Default isfalse.outpostArnARN of the Outpost.ownerIdThe ID of the AWS account that owns the subnet.privateDnsHostnameTypeOnLaunchThe 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.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.tagsA map of tags to assign to the resource. .If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllA map of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.vpcIdThe 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
falsefinal -
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
availabilityZoneinstead.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
mapCustomerOwnedIpOnLaunchargument. TheoutpostArnargument 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
trueto indicate that network interfaces created in the subnet should be assigned a customer owned IP address. ThecustomerOwnedIpv4PoolandoutpostArnarguments must be specified when set totrue. Default isfalse.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
-
A map of tags to assign to the resource. .If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
A map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration 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