pub struct GetCapacityBlockOfferingArgs {
pub capacity_duration_hours: Output<i32>,
pub end_date_range: Output<Option<String>>,
pub instance_count: Output<i32>,
pub instance_type: Output<String>,
pub start_date_range: Output<Option<String>>,
}
Fields§
§capacity_duration_hours: Output<i32>
The amount of time of the Capacity Block reservation in hours.
end_date_range: Output<Option<String>>
The date and time at which the Capacity Block Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
instance_count: Output<i32>
The number of instances for which to reserve capacity.
instance_type: Output<String>
The instance type for which to reserve capacity.
start_date_range: Output<Option<String>>
The date and time at which the Capacity Block Reservation starts. Valid values: RFC3339 time string (YYYY-MM-DDTHH:MM:SSZ
)
Implementations§
source§impl GetCapacityBlockOfferingArgs
impl GetCapacityBlockOfferingArgs
sourcepub fn builder() -> GetCapacityBlockOfferingArgsBuilder
pub fn builder() -> GetCapacityBlockOfferingArgsBuilder
Create an instance of GetCapacityBlockOfferingArgs
using the builder syntax
Trait Implementations§
source§impl Clone for GetCapacityBlockOfferingArgs
impl Clone for GetCapacityBlockOfferingArgs
source§fn clone(&self) -> GetCapacityBlockOfferingArgs
fn clone(&self) -> GetCapacityBlockOfferingArgs
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 GetCapacityBlockOfferingArgs
impl RefUnwindSafe for GetCapacityBlockOfferingArgs
impl Send for GetCapacityBlockOfferingArgs
impl Sync for GetCapacityBlockOfferingArgs
impl Unpin for GetCapacityBlockOfferingArgs
impl UnwindSafe for GetCapacityBlockOfferingArgs
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
)