Class: Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-securityhub/types.rb
Overview
Specifies the Capacity Reservation targeting option of an Amazon EC2 instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_reservation_preference ⇒ String
Indicates the instance’s Capacity Reservation preferences.
-
#capacity_reservation_target ⇒ Types::AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
Specifies a target Capacity Reservation.
Instance Attribute Details
#capacity_reservation_preference ⇒ String
Indicates the instance’s Capacity Reservation preferences. If equal to ‘open`, the instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). If equal to `none`, the instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
7019 7020 7021 7022 7023 7024 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7019 class AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails < Struct.new( :capacity_reservation_preference, :capacity_reservation_target) SENSITIVE = [] include Aws::Structure end |
#capacity_reservation_target ⇒ Types::AwsEc2LaunchTemplateDataCapacityReservationSpecificationCapacityReservationTargetDetails
Specifies a target Capacity Reservation.
7019 7020 7021 7022 7023 7024 |
# File 'lib/aws-sdk-securityhub/types.rb', line 7019 class AwsEc2LaunchTemplateDataCapacityReservationSpecificationDetails < Struct.new( :capacity_reservation_preference, :capacity_reservation_target) SENSITIVE = [] include Aws::Structure end |