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

Description

 
Synopsis

Documentation

data Placement Source #

Describes the placement of an instance.

See: newPlacement smart constructor.

Constructors

Placement' 

Fields

  • affinity :: Maybe Text

    The affinity setting for the instance on the Dedicated Host.

    This parameter is not supported for CreateFleet or ImportInstance.

  • availabilityZone :: Maybe Text

    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.

  • groupId :: Maybe Text

    The ID of the placement group that the instance is in. If you specify GroupId, you can't specify GroupName.

  • groupName :: Maybe Text

    The name of the placement group that the instance is in. If you specify GroupName, you can't specify GroupId.

  • hostId :: Maybe Text

    The ID of the Dedicated Host on which the instance resides.

    This parameter is not supported for CreateFleet or ImportInstance.

  • hostResourceGroupArn :: Maybe Text

    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.

  • partitionNumber :: Maybe Int

    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.

  • spreadDomain :: Maybe Text

    Reserved for future use.

  • tenancy :: Maybe 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.

Instances

Instances details
ToQuery Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

FromXML Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

Generic Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

Associated Types

type Rep Placement :: Type -> Type #

Read Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

Show Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

NFData Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

Methods

rnf :: Placement -> () #

Eq Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

Hashable Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

type Rep Placement Source # 
Instance details

Defined in Amazonka.EC2.Types.Placement

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_spreadDomain :: Lens' Placement (Maybe Text) Source #

Reserved for future use.

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.