Class: Aws::EC2::Types::SpotPlacement
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::SpotPlacement
- 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
-
#availability_zone ⇒ String
The Availability Zone.
-
#availability_zone_id ⇒ String
The ID of 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. 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.
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_id ⇒ String
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.
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_name ⇒ String
The name of the placement group.
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 |
#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.
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 |