You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EC2::Types::SpotPlacement
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SpotPlacement
- Defined in:
- (unknown)
Overview
When passing SpotPlacement as input to an Aws::Client method, you can use a vanilla Hash:
{
availability_zone: "String",
group_name: "String",
tenancy: "default", # accepts default, dedicated, host
}
Describes Spot Instance placement.
Returned by:
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\".
#group_name ⇒ String
The name of the placement group.
#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.
Possible values:
- default
- dedicated
- host