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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes the placement of an instance.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#affinityString

The affinity setting for the instance on the Dedicated Host.

Returns:

  • (String)

    The affinity setting for the instance on the Dedicated Host.

#availability_zoneString

The Availability Zone of the instance.

Returns:

  • (String)

    The Availability Zone of the instance.

#group_nameString

The name of the placement group for the instance.

Returns:

  • (String)

    The name of the placement group for the instance.

#host_idString

The ID of the Dedicated Host for the instance.

Returns:

  • (String)

    The ID of the Dedicated Host for the instance.

#host_resource_group_arnString

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

Returns:

  • (String)

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

#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)

    The number of the partition the instance should launch in.

#spread_domainString

Reserved for future use.

Returns:

  • (String)

    Reserved for future use.

#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.

Possible values:

  • default
  • dedicated
  • host

Returns:

  • (String)

    The tenancy of the instance (if the instance is running in a VPC).