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
andvpc_id
arguments become computed attributes - The default value for
map_public_ip_on_launch
istrue
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>
§vpc_id: Output<String>
The ID of the VPC the subnet is in
Auto Trait Implementations§
impl Freeze for DefaultSubnetResult
impl RefUnwindSafe for DefaultSubnetResult
impl Send for DefaultSubnetResult
impl Sync for DefaultSubnetResult
impl Unpin for DefaultSubnetResult
impl UnwindSafe for DefaultSubnetResult
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more