Class: Aws::EC2::Types::SpotPlacement
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SpotPlacement
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
Note:
When making an API call, you may pass SpotPlacement data as a hash:
{
availability_zone: "String",
group_name: "String",
tenancy: "default", # accepts default, dedicated, host
}
Describes Spot Instance placement.
Instance Attribute Summary collapse
-
#availability_zone ⇒ String
The Availability Zone.
-
#group_name ⇒ String
The name of the placement group.
-
#tenancy ⇒ String
The tenancy of the instance (if the instance is running in a VPC).
Instance Attribute Details
#availability_zone ⇒ String
The Availability Zone.
[Spot Fleet only] To specify multiple Availability Zones, separate them using commas; for example, “us-west-2a, us-west-2b”.
34944 34945 34946 34947 34948 34949 |
# File 'lib/aws-sdk-ec2/types.rb', line 34944 class SpotPlacement < Struct.new( :availability_zone, :group_name, :tenancy) include Aws::Structure end |
#group_name ⇒ String
The name of the placement group.
34944 34945 34946 34947 34948 34949 |
# File 'lib/aws-sdk-ec2/types.rb', line 34944 class SpotPlacement < Struct.new( :availability_zone, :group_name, :tenancy) include Aws::Structure end |
#tenancy ⇒ String
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.
34944 34945 34946 34947 34948 34949 |
# File 'lib/aws-sdk-ec2/types.rb', line 34944 class SpotPlacement < Struct.new( :availability_zone, :group_name, :tenancy) include Aws::Structure end |