pub struct DefaultSubnetArgs {Show 13 fields
pub assign_ipv6_address_on_creation: Output<Option<bool>>,
pub availability_zone: Output<String>,
pub customer_owned_ipv4_pool: Output<Option<String>>,
pub enable_dns64: Output<Option<bool>>,
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 force_destroy: Output<Option<bool>>,
pub ipv6_cidr_block: Output<Option<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 private_dns_hostname_type_on_launch: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
}
Fields§
§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:
customer_owned_ipv4_pool: Output<Option<String>>
§enable_dns64: Output<Option<bool>>
§enable_resource_name_dns_a_record_on_launch: Output<Option<bool>>
§enable_resource_name_dns_aaaa_record_on_launch: Output<Option<bool>>
§force_destroy: Output<Option<bool>>
Whether destroying the resource deletes the default subnet. Default: false
ipv6_cidr_block: Output<Option<String>>
§ipv6_native: Output<Option<bool>>
§map_customer_owned_ip_on_launch: Output<Option<bool>>
§map_public_ip_on_launch: Output<Option<bool>>
§private_dns_hostname_type_on_launch: Output<Option<String>>
Implementations§
source§impl DefaultSubnetArgs
impl DefaultSubnetArgs
sourcepub fn builder() -> DefaultSubnetArgsBuilder
pub fn builder() -> DefaultSubnetArgsBuilder
Create an instance of DefaultSubnetArgs
using the builder syntax
Trait Implementations§
source§impl Clone for DefaultSubnetArgs
impl Clone for DefaultSubnetArgs
source§fn clone(&self) -> DefaultSubnetArgs
fn clone(&self) -> DefaultSubnetArgs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for DefaultSubnetArgs
impl RefUnwindSafe for DefaultSubnetArgs
impl Send for DefaultSubnetArgs
impl Sync for DefaultSubnetArgs
impl Unpin for DefaultSubnetArgs
impl UnwindSafe for DefaultSubnetArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)