You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::LaunchTemplatePlacementRequest

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

Overview

Note:

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",
}

The placement for the instance.

Instance Attribute Summary collapse

Instance Attribute Details

#affinityString

The affinity setting for an instance on a Dedicated Host.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  include Aws::Structure
end

#availability_zoneString

The Availability Zone for the instance.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  include Aws::Structure
end

#group_nameString

The name of the placement group for the instance.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  include Aws::Structure
end

#host_idString

The ID of the Dedicated Host for the instance.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  include Aws::Structure
end

#spread_domainString

Reserved for future use.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  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.

Returns:

  • (String)


19065
19066
19067
19068
19069
19070
19071
19072
19073
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 19065

class LaunchTemplatePlacementRequest < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain)
  include Aws::Structure
end