Class: Aws::EC2::Types::CreateInterruptibleCapacityReservationAllocationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::CreateInterruptibleCapacityReservationAllocationRequest
- Defined in:
- gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#capacity_reservation_id ⇒ String
The ID of the source Capacity Reservation from which to create the interruptible Capacity Reservation.
-
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#instance_count ⇒ Integer
The number of instances to allocate from your source reservation.
-
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the interruptible Capacity Reservation during creation.
-
#zero_size_preference ⇒ String
Specifies the behavior for the interruptible Capacity Reservation when you reduce its allocation to zero instances.
Instance Attribute Details
#capacity_reservation_id ⇒ String
The ID of the source Capacity Reservation from which to create the interruptible Capacity Reservation. Your Capacity Reservation must be in active state with no end date set and have available capacity for allocation.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
A suitable default value is auto-generated. You should normally not need to pass this option.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#instance_count ⇒ Integer
The number of instances to allocate from your source reservation. You can only allocate available instances (also called unused capacity).
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#tag_specifications ⇒ Array<Types::TagSpecification>
The tags to apply to the interruptible Capacity Reservation during creation.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |
#zero_size_preference ⇒ String
Specifies the behavior for the interruptible Capacity Reservation
when you reduce its allocation to zero instances. Specify retain
to keep the interruptible Capacity Reservation active at zero
capacity so that you can allocate instances to it again later.
Specify default to cancel the interruptible Capacity Reservation
and return the capacity to your source Capacity Reservation. The
default value is default.
12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 |
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12164 class CreateInterruptibleCapacityReservationAllocationRequest < Struct.new( :capacity_reservation_id, :instance_count, :client_token, :dry_run, :tag_specifications, :zero_size_preference) SENSITIVE = [] include Aws::Structure end |