Struct rusoto_ec2::LaunchTemplateCapacityReservationSpecificationRequest [−][src]
pub struct LaunchTemplateCapacityReservationSpecificationRequest { pub capacity_reservation_preference: Option<String>, pub capacity_reservation_target: Option<CapacityReservationTarget>, }
Expand description
Describes an instance's Capacity Reservation targeting option. You can specify only one option at a time. Use the CapacityReservationPreference
parameter to configure the instance to run in On-Demand capacity or to run in any open
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). Use the CapacityReservationTarget
parameter to explicitly target a specific Capacity Reservation or a Capacity Reservation group.
Fields
capacity_reservation_preference: Option<String>
Indicates the instance's Capacity Reservation preferences. Possible preferences include:
-
open
- The instance can run in anyopen
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). -
none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
capacity_reservation_target: Option<CapacityReservationTarget>
Information about the target Capacity Reservation or Capacity Reservation group.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self