pulumi_wasm_providers_aws_mini::ec2::default_subnet

Struct DefaultSubnetResult

source
pub struct DefaultSubnetResult {
Show 23 fields pub arn: Output<String>, pub assign_ipv6_address_on_creation: Output<Option<bool>>, pub availability_zone: Output<String>, pub availability_zone_id: Output<String>, pub cidr_block: Output<String>, pub customer_owned_ipv4_pool: Output<Option<String>>, pub enable_dns64: Output<Option<bool>>, pub enable_lni_at_device_index: Output<i32>, pub enable_resource_name_dns_a_record_on_launch: Output<Option<bool>>, pub enable_resource_name_dns_aaaa_record_on_launch: Output<Option<bool>>, pub existing_default_subnet: Output<bool>, pub force_destroy: Output<Option<bool>>, pub ipv6_cidr_block: Output<String>, pub ipv6_cidr_block_association_id: Output<String>, pub ipv6_native: Output<Option<bool>>, pub map_customer_owned_ip_on_launch: Output<Option<bool>>, pub map_public_ip_on_launch: Output<Option<bool>>, pub outpost_arn: Output<String>, pub owner_id: Output<String>, pub private_dns_hostname_type_on_launch: Output<String>, pub tags: Output<Option<HashMap<String, String>>>, pub tags_all: Output<HashMap<String, String>>, pub vpc_id: Output<String>,
}

Fields§

§arn: Output<String>§assign_ipv6_address_on_creation: Output<Option<bool>>§availability_zone: Output<String>

is required

  • The availability_zone_id, cidr_block and vpc_id arguments become computed attributes
  • The default value for map_public_ip_on_launch is true

This resource supports the following additional arguments:

§availability_zone_id: Output<String>

The AZ ID of the subnet

§cidr_block: Output<String>

The IPv4 CIDR block assigned to the subnet

§customer_owned_ipv4_pool: Output<Option<String>>§enable_dns64: Output<Option<bool>>§enable_lni_at_device_index: Output<i32>§enable_resource_name_dns_a_record_on_launch: Output<Option<bool>>§enable_resource_name_dns_aaaa_record_on_launch: Output<Option<bool>>§existing_default_subnet: Output<bool>§force_destroy: Output<Option<bool>>

Whether destroying the resource deletes the default subnet. Default: false

§ipv6_cidr_block: Output<String>§ipv6_cidr_block_association_id: Output<String>§ipv6_native: Output<Option<bool>>§map_customer_owned_ip_on_launch: Output<Option<bool>>§map_public_ip_on_launch: Output<Option<bool>>§outpost_arn: Output<String>§owner_id: Output<String>§private_dns_hostname_type_on_launch: Output<String>§tags: Output<Option<HashMap<String, String>>>§tags_all: Output<HashMap<String, String>>§vpc_id: Output<String>

The ID of the VPC the subnet is in

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.