Class: Aws::EC2::Types::ReservationFleetInstanceSpecification

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ec2/types.rb

Overview

Information about an instance type to use in a Capacity Reservation Fleet.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can’t span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

Returns:

  • (String)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_idString

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can’t span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

Returns:

  • (String)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#ebs_optimizedBoolean

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

Returns:

  • (Boolean)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#instance_platformString

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

Returns:

  • (String)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#instance_typeString

The instance type for which the Capacity Reservation Fleet reserves capacity.

Returns:

  • (String)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see [Instance type priority] in the Amazon EC2 User Guide.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#instance-priority

Returns:

  • (Integer)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#weightFloat

The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see [Total target capacity] in the Amazon EC2 User Guide.

[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/crfleet-concepts.html#target-capacity

Returns:

  • (Float)


56182
56183
56184
56185
56186
56187
56188
56189
56190
56191
56192
# File 'lib/aws-sdk-ec2/types.rb', line 56182

class ReservationFleetInstanceSpecification < Struct.new(
  :instance_type,
  :instance_platform,
  :weight,
  :availability_zone,
  :availability_zone_id,
  :ebs_optimized,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end