amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.LaunchTemplatePlacement

Description

 
Synopsis

Documentation

data LaunchTemplatePlacement Source #

Describes the placement of an instance.

See: newLaunchTemplatePlacement smart constructor.

Constructors

LaunchTemplatePlacement' 

Fields

Instances

Instances details
FromXML LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

Generic LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

Associated Types

type Rep LaunchTemplatePlacement :: Type -> Type #

Read LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

Show LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

NFData LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

Methods

rnf :: LaunchTemplatePlacement -> () #

Eq LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

Hashable LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

type Rep LaunchTemplatePlacement Source # 
Instance details

Defined in Amazonka.EC2.Types.LaunchTemplatePlacement

newLaunchTemplatePlacement :: LaunchTemplatePlacement Source #

Create a value of LaunchTemplatePlacement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:affinity:LaunchTemplatePlacement', launchTemplatePlacement_affinity - The affinity setting for the instance on the Dedicated Host.

$sel:availabilityZone:LaunchTemplatePlacement', launchTemplatePlacement_availabilityZone - The Availability Zone of the instance.

$sel:groupId:LaunchTemplatePlacement', launchTemplatePlacement_groupId - The Group ID of the placement group. You must specify the Placement Group Group ID to launch an instance in a shared placement group.

$sel:groupName:LaunchTemplatePlacement', launchTemplatePlacement_groupName - The name of the placement group for the instance.

$sel:hostId:LaunchTemplatePlacement', launchTemplatePlacement_hostId - The ID of the Dedicated Host for the instance.

$sel:hostResourceGroupArn:LaunchTemplatePlacement', launchTemplatePlacement_hostResourceGroupArn - The ARN of the host resource group in which to launch the instances.

$sel:partitionNumber:LaunchTemplatePlacement', launchTemplatePlacement_partitionNumber - The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

$sel:spreadDomain:LaunchTemplatePlacement', launchTemplatePlacement_spreadDomain - Reserved for future use.

$sel:tenancy:LaunchTemplatePlacement', launchTemplatePlacement_tenancy - 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.

launchTemplatePlacement_affinity :: Lens' LaunchTemplatePlacement (Maybe Text) Source #

The affinity setting for the instance on the Dedicated Host.

launchTemplatePlacement_groupId :: Lens' LaunchTemplatePlacement (Maybe Text) Source #

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

launchTemplatePlacement_groupName :: Lens' LaunchTemplatePlacement (Maybe Text) Source #

The name of the placement group for the instance.

launchTemplatePlacement_hostId :: Lens' LaunchTemplatePlacement (Maybe Text) Source #

The ID of the Dedicated Host for the instance.

launchTemplatePlacement_hostResourceGroupArn :: Lens' LaunchTemplatePlacement (Maybe Text) Source #

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

launchTemplatePlacement_partitionNumber :: Lens' LaunchTemplatePlacement (Maybe Int) Source #

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

launchTemplatePlacement_tenancy :: Lens' LaunchTemplatePlacement (Maybe Tenancy) Source #

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.