pulumi_wasm_providers_aws_mini::functions::ec2::get_subnet

Struct GetSubnetResult

source
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>§tags: Output<HashMap<String, String>>§vpc_id: Output<String>

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.