pub struct GetSubnetResult {Show 25 fields
pub arn: Output<String>,
pub assign_ipv6_address_on_creation: Output<bool>,
pub availability_zone: Output<String>,
pub availability_zone_id: Output<String>,
pub available_ip_address_count: Output<i32>,
pub cidr_block: Output<String>,
pub customer_owned_ipv4_pool: Output<String>,
pub default_for_az: Output<bool>,
pub enable_dns64: Output<bool>,
pub enable_lni_at_device_index: Output<i32>,
pub enable_resource_name_dns_a_record_on_launch: Output<bool>,
pub enable_resource_name_dns_aaaa_record_on_launch: Output<bool>,
pub filters: Output<Option<Vec<GetSubnetFilter>>>,
pub id: Output<String>,
pub ipv6_cidr_block: Output<String>,
pub ipv6_cidr_block_association_id: Output<String>,
pub ipv6_native: Output<bool>,
pub map_customer_owned_ip_on_launch: Output<bool>,
pub map_public_ip_on_launch: Output<bool>,
pub outpost_arn: Output<String>,
pub owner_id: Output<String>,
pub private_dns_hostname_type_on_launch: Output<String>,
pub state: Output<String>,
pub tags: Output<HashMap<String, String>>,
pub vpc_id: Output<String>,
}
Fields§
§arn: Output<String>
ARN of the subnet.
assign_ipv6_address_on_creation: Output<bool>
Whether an IPv6 address is assigned on creation.
availability_zone: Output<String>
§availability_zone_id: Output<String>
§available_ip_address_count: Output<i32>
Available IP addresses of the subnet.
cidr_block: Output<String>
§customer_owned_ipv4_pool: Output<String>
Identifier of customer owned IPv4 address pool.
default_for_az: Output<bool>
§enable_dns64: Output<bool>
Whether DNS queries made to the Amazon-provided DNS Resolver in this subnet return synthetic IPv6 addresses for IPv4-only destinations.
enable_lni_at_device_index: Output<i32>
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).
enable_resource_name_dns_a_record_on_launch: Output<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
enable_resource_name_dns_aaaa_record_on_launch: Output<bool>
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
filters: Output<Option<Vec<GetSubnetFilter>>>
§id: Output<String>
§ipv6_cidr_block: Output<String>
§ipv6_cidr_block_association_id: Output<String>
Association ID of the IPv6 CIDR block.
ipv6_native: Output<bool>
Whether this is an IPv6-only subnet.
map_customer_owned_ip_on_launch: Output<bool>
Whether customer owned IP addresses are assigned on network interface creation.
map_public_ip_on_launch: Output<bool>
Whether public IP addresses are assigned on instance launch.
outpost_arn: Output<String>
ARN of the Outpost.
owner_id: Output<String>
ID of the AWS account that owns the subnet.
private_dns_hostname_type_on_launch: Output<String>
The type of hostnames assigned to instances in the subnet at launch.
state: Output<String>
§vpc_id: Output<String>