pub struct CapacityReservationArgs {Show 13 fields
pub availability_zone: Output<String>,
pub ebs_optimized: Output<Option<bool>>,
pub end_date: Output<Option<String>>,
pub end_date_type: Output<Option<String>>,
pub ephemeral_storage: Output<Option<bool>>,
pub instance_count: Output<i32>,
pub instance_match_criteria: Output<Option<String>>,
pub instance_platform: Output<String>,
pub instance_type: Output<String>,
pub outpost_arn: Output<Option<String>>,
pub placement_group_arn: Output<Option<String>>,
pub tags: Output<Option<HashMap<String, String>>>,
pub tenancy: Output<Option<String>>,
}
Fields§
§availability_zone: Output<String>
The Availability Zone in which to create the Capacity Reservation.
ebs_optimized: Output<Option<bool>>
Indicates whether the Capacity Reservation supports EBS-optimized instances.
end_date: Output<Option<String>>
The date and time at which the Capacity 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
)
end_date_type: Output<Option<String>>
Indicates the way in which the Capacity Reservation ends. Specify either unlimited
or limited
.
ephemeral_storage: Output<Option<bool>>
Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.
instance_count: Output<i32>
The number of instances for which to reserve capacity.
instance_match_criteria: Output<Option<String>>
Indicates the type of instance launches that the Capacity Reservation accepts. Specify either open
or targeted
.
instance_platform: Output<String>
The type of operating system for which to reserve capacity. Valid options are Linux/UNIX
, Red Hat Enterprise Linux
, SUSE Linux
, Windows
, Windows with SQL Server
, Windows with SQL Server Enterprise
, Windows with SQL Server Standard
or Windows with SQL Server Web
.
instance_type: Output<String>
The instance type for which to reserve capacity.
outpost_arn: Output<Option<String>>
The Amazon Resource Name (ARN) of the Outpost on which to create the Capacity Reservation.
placement_group_arn: Output<Option<String>>
The Amazon Resource Name (ARN) of the cluster placement group in which to create the Capacity Reservation.
A map of tags to assign to the resource. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tenancy: Output<Option<String>>
Indicates the tenancy of the Capacity Reservation. Specify either default
or dedicated
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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)
clone_to_uninit
)