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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


61818
61819
61820
61821
61822
61823
61824
# File 'lib/aws-sdk-ec2/types.rb', line 61818

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

#regionString

The Region.

Returns:

  • (String)


61818
61819
61820
61821
61822
61823
61824
# File 'lib/aws-sdk-ec2/types.rb', line 61818

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)


61818
61819
61820
61821
61822
61823
61824
# File 'lib/aws-sdk-ec2/types.rb', line 61818

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