Class: Aws::EC2::Types::SpotPlacement

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

Overview

Describes Spot Instance placement.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zoneString

The Availability Zone. For example, us-east-2a.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "us-east-2a, us-east-2b".

Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

Returns:

  • (String)


77830
77831
77832
77833
77834
77835
77836
77837
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77830

class SpotPlacement < Struct.new(
  :availability_zone,
  :group_name,
  :tenancy,
  :availability_zone_id)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zone_idString

The ID of the Availability Zone. For example, use2-az1.

[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, "use2-az1, use2-bz1".

Either AvailabilityZone or AvailabilityZoneId must be specified in the request, but not both.

Returns:

  • (String)


77830
77831
77832
77833
77834
77835
77836
77837
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77830

class SpotPlacement < Struct.new(
  :availability_zone,
  :group_name,
  :tenancy,
  :availability_zone_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

The name of the placement group.

Returns:

  • (String)


77830
77831
77832
77833
77834
77835
77836
77837
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77830

class SpotPlacement < Struct.new(
  :availability_zone,
  :group_name,
  :tenancy,
  :availability_zone_id)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

Returns:

  • (String)


77830
77831
77832
77833
77834
77835
77836
77837
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 77830

class SpotPlacement < Struct.new(
  :availability_zone,
  :group_name,
  :tenancy,
  :availability_zone_id)
  SENSITIVE = []
  include Aws::Structure
end