| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.LaunchTemplatePlacement
Description
Synopsis
- data LaunchTemplatePlacement = LaunchTemplatePlacement' {}
- newLaunchTemplatePlacement :: LaunchTemplatePlacement
- launchTemplatePlacement_affinity :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_availabilityZone :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_groupId :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_groupName :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_hostId :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_hostResourceGroupArn :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_partitionNumber :: Lens' LaunchTemplatePlacement (Maybe Int)
- launchTemplatePlacement_spreadDomain :: Lens' LaunchTemplatePlacement (Maybe Text)
- launchTemplatePlacement_tenancy :: Lens' LaunchTemplatePlacement (Maybe Tenancy)
Documentation
data LaunchTemplatePlacement Source #
Describes the placement of an instance.
See: newLaunchTemplatePlacement smart constructor.
Constructors
| LaunchTemplatePlacement' | |
Fields
| |
Instances
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_availabilityZone :: Lens' LaunchTemplatePlacement (Maybe Text) Source #
The Availability Zone of the instance.
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_spreadDomain :: Lens' LaunchTemplatePlacement (Maybe Text) Source #
Reserved for future use.
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.