Class: Aws::EC2::Types::LaunchTemplatePlacementRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::LaunchTemplatePlacementRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass LaunchTemplatePlacementRequest data as a hash:
{
availability_zone: "String",
affinity: "String",
group_name: "String",
host_id: "String",
tenancy: "default", # accepts default, dedicated, host
spread_domain: "String",
}
Describes the placement of an instance.
Instance Attribute Summary collapse
-
#affinity ⇒ String
The affinity setting for an instance on a Dedicated Host.
-
#availability_zone ⇒ String
The Availability Zone for the instance.
-
#group_name ⇒ String
The name of the placement group for the instance.
-
#host_id ⇒ String
The ID of the Dedicated Host for the instance.
-
#spread_domain ⇒ String
Reserved for future use.
-
#tenancy ⇒ String
The tenancy of the instance (if the instance is running in a VPC).
Instance Attribute Details
#affinity ⇒ String
The affinity setting for an instance on a Dedicated Host.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#availability_zone ⇒ String
The Availability Zone for the instance.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#group_name ⇒ String
The name of the placement group for the instance.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#host_id ⇒ String
The ID of the Dedicated Host for the instance.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) include Aws::Structure end |
#spread_domain ⇒ String
Reserved for future use.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) 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.
24615 24616 24617 24618 24619 24620 24621 24622 24623 |
# File 'lib/aws-sdk-ec2/types.rb', line 24615 class LaunchTemplatePlacementRequest < Struct.new( :availability_zone, :affinity, :group_name, :host_id, :tenancy, :spread_domain) include Aws::Structure end |