Class: Aws::EC2::Types::SpotPlacementScore

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

Overview

The Spot placement score for this Region or Availability Zone. The score is calculated based on the assumption that the capacity-optimized allocation strategy is used and that all of the Availability Zones in the Region can be used.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zone_idString

The Availability Zone.

Returns:

  • (String)


62565
62566
62567
62568
62569
62570
62571
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62565

class SpotPlacementScore < Struct.new(
  :region,
  :availability_zone_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

The Region.

Returns:

  • (String)


62565
62566
62567
62568
62569
62570
62571
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62565

class SpotPlacementScore < Struct.new(
  :region,
  :availability_zone_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end

#scoreInteger

The placement score, on a scale from 1 to 10. A score of 10 indicates that your Spot request is highly likely to succeed in this Region or Availability Zone. A score of 1 indicates that your Spot request is not likely to succeed.

Returns:

  • (Integer)


62565
62566
62567
62568
62569
62570
62571
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62565

class SpotPlacementScore < Struct.new(
  :region,
  :availability_zone_id,
  :score)
  SENSITIVE = []
  include Aws::Structure
end