pub struct CapacityReservationArgs {
pub capacity_reservation_group_id: Output<String>,
pub name: Output<Option<String>>,
pub sku: Output<CapacityReservationSku>,
pub tags: Output<Option<HashMap<String, String>>>,
pub zone: Output<Option<String>>,
}
Fields§
§capacity_reservation_group_id: Output<String>
The ID of the Capacity Reservation Group where the Capacity Reservation exists. Changing this forces a new resource to be created.
name: Output<Option<String>>
Specifies the name of this Capacity Reservation. Changing this forces a new resource to be created.
sku: Output<CapacityReservationSku>
A sku
block as defined below.
A mapping of tags to assign to the resource.
zone: Output<Option<String>>
Specifies the Availability Zone for this Capacity Reservation. Changing this forces a new resource to be created.
Implementations§
source§impl CapacityReservationArgs
impl CapacityReservationArgs
sourcepub fn builder() -> CapacityReservationArgsBuilder
pub fn builder() -> CapacityReservationArgsBuilder
Create an instance of CapacityReservationArgs
using the builder syntax
Trait Implementations§
source§impl Clone for CapacityReservationArgs
impl Clone for CapacityReservationArgs
source§fn clone(&self) -> CapacityReservationArgs
fn clone(&self) -> CapacityReservationArgs
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 CapacityReservationArgs
impl RefUnwindSafe for CapacityReservationArgs
impl Send for CapacityReservationArgs
impl Sync for CapacityReservationArgs
impl Unpin for CapacityReservationArgs
impl UnwindSafe for CapacityReservationArgs
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
)