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 |
Synopsis
- data Placement = Placement' {}
- newPlacement :: Placement
- placement_affinity :: Lens' Placement (Maybe Text)
- placement_availabilityZone :: Lens' Placement (Maybe Text)
- placement_groupId :: Lens' Placement (Maybe Text)
- placement_groupName :: Lens' Placement (Maybe Text)
- placement_hostId :: Lens' Placement (Maybe Text)
- placement_hostResourceGroupArn :: Lens' Placement (Maybe Text)
- placement_partitionNumber :: Lens' Placement (Maybe Int)
- placement_spreadDomain :: Lens' Placement (Maybe Text)
- placement_tenancy :: Lens' Placement (Maybe Tenancy)
Documentation
Describes the placement of an instance.
See: newPlacement
smart constructor.
Placement' | |
|
Instances
newPlacement :: Placement Source #
Create a value of Placement
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:Placement'
, placement_affinity
- The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance.
$sel:availabilityZone:Placement'
, placement_availabilityZone
- The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet.
$sel:groupId:Placement'
, placement_groupId
- The ID of the placement group that the instance is in. If you specify
GroupId
, you can't specify GroupName
.
$sel:groupName:Placement'
, placement_groupName
- The name of the placement group that the instance is in. If you specify
GroupName
, you can't specify GroupId
.
$sel:hostId:Placement'
, placement_hostId
- The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance.
$sel:hostResourceGroupArn:Placement'
, placement_hostResourceGroupArn
- The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or
set it to host
.
This parameter is not supported for CreateFleet.
$sel:partitionNumber:Placement'
, placement_partitionNumber
- The number of the partition that the instance is in. Valid only if the
placement group strategy is set to partition
.
This parameter is not supported for CreateFleet.
$sel:spreadDomain:Placement'
, placement_spreadDomain
- Reserved for future use.
$sel:tenancy:Placement'
, placement_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.
This parameter is not supported for
CreateFleet.
The host
tenancy is not supported for
ImportInstance
or for T3 instances that are configured for the unlimited
CPU credit
option.
placement_affinity :: Lens' Placement (Maybe Text) Source #
The affinity setting for the instance on the Dedicated Host.
This parameter is not supported for CreateFleet or ImportInstance.
placement_availabilityZone :: Lens' Placement (Maybe Text) Source #
The Availability Zone of the instance.
If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.
This parameter is not supported for CreateFleet.
placement_groupId :: Lens' Placement (Maybe Text) Source #
The ID of the placement group that the instance is in. If you specify
GroupId
, you can't specify GroupName
.
placement_groupName :: Lens' Placement (Maybe Text) Source #
The name of the placement group that the instance is in. If you specify
GroupName
, you can't specify GroupId
.
placement_hostId :: Lens' Placement (Maybe Text) Source #
The ID of the Dedicated Host on which the instance resides.
This parameter is not supported for CreateFleet or ImportInstance.
placement_hostResourceGroupArn :: Lens' Placement (Maybe Text) Source #
The ARN of the host resource group in which to launch the instances.
If you specify this parameter, either omit the Tenancy parameter or
set it to host
.
This parameter is not supported for CreateFleet.
placement_partitionNumber :: Lens' Placement (Maybe Int) Source #
The number of the partition that the instance is in. Valid only if the
placement group strategy is set to partition
.
This parameter is not supported for CreateFleet.
placement_tenancy :: Lens' Placement (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.
This parameter is not supported for
CreateFleet.
The host
tenancy is not supported for
ImportInstance
or for T3 instances that are configured for the unlimited
CPU credit
option.