Struct rusoto_ec2::LaunchTemplateCapacityReservationSpecificationResponse [−][src]
pub struct LaunchTemplateCapacityReservationSpecificationResponse { pub capacity_reservation_preference: Option<String>, pub capacity_reservation_target: Option<CapacityReservationTargetResponse>, }
Expand description
Information about the Capacity Reservation targeting option.
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<CapacityReservationTargetResponse>
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