Class: Aws::EC2::Types::LaunchTemplatePlacement

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

Overview

Describes the placement of an instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#affinityString

The affinity setting for the instance on the Dedicated Host.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#availability_zoneString

The Availability Zone of the instance.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_idString

The Group ID of the placement group. You must specify the Placement Group **Group ID** to launch an instance in a shared placement group.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_nameString

The name of the placement group for the instance.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#host_idString

The ID of the Dedicated Host for the instance.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#host_resource_group_arnString

The ARN of the host resource group in which to launch the instances.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#partition_numberInteger

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to ‘partition`.

Returns:

  • (Integer)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#spread_domainString

Reserved for future use.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end

#tenancyString

The tenancy of the instance. An instance with a tenancy of ‘dedicated` runs on single-tenant hardware.

Returns:

  • (String)


48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
# File 'lib/aws-sdk-ec2/types.rb', line 48644

class LaunchTemplatePlacement < Struct.new(
  :availability_zone,
  :affinity,
  :group_name,
  :host_id,
  :tenancy,
  :spread_domain,
  :host_resource_group_arn,
  :partition_number,
  :group_id)
  SENSITIVE = []
  include Aws::Structure
end