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)


62667
62668
62669
62670
62671
62672
62673
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62667

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

#regionString

The Region.

Returns:

  • (String)


62667
62668
62669
62670
62671
62672
62673
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62667

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)


62667
62668
62669
62670
62671
62672
62673
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 62667

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