import { Value } from '../../../cloudformation/Value';
/**
  Describes the placement of an instance.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ec2fleet-placement.html">the AWS Docs</a>
*/
export interface PlacementProps {
    /** <code>GroupName</code>  <a name="cfn-ec2-ec2fleet-placement-groupname"></a>
  The name of the placement group that the instance is in. If you specify <code>GroupName</code>, you can’t specify <code>GroupId</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    groupName?: Value<string>;
    /** <code>Tenancy</code>  <a name="cfn-ec2-ec2fleet-placement-tenancy"></a>
  The tenancy of the instance. An instance with a tenancy of <code>dedicated</code> runs on single-tenant hardware.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>. The <code>host</code> tenancy is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a> or for T3 instances that are configured for the <code>unlimited</code> CPU credit option.<br />
  
  Required: No<br />
  
  Allowed values: <code>dedicated | default | host</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    tenancy?: Value<'dedicated' | 'default' | 'host'>;
    /** <code>SpreadDomain</code>  <a name="cfn-ec2-ec2fleet-placement-spreaddomain"></a>
  Reserved for future use.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    spreadDomain?: Value<string>;
    /** <code>PartitionNumber</code>  <a name="cfn-ec2-ec2fleet-placement-partitionnumber"></a>
  The number of the partition that the instance is in. Valid only if the placement group strategy is set to <code>partition</code>.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    partitionNumber?: Value<number>;
    /** <code>AvailabilityZone</code>  <a name="cfn-ec2-ec2fleet-placement-availabilityzone"></a>
  The Availability Zone of the instance.<br />
  If not specified, an Availability Zone will be automatically chosen for you based on the load balancing criteria for the Region.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    availabilityZone?: Value<string>;
    /** <code>Affinity</code>  <a name="cfn-ec2-ec2fleet-placement-affinity"></a>
  The affinity setting for the instance on the Dedicated Host.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    affinity?: Value<string>;
    /** <code>HostId</code>  <a name="cfn-ec2-ec2fleet-placement-hostid"></a>
  The ID of the Dedicated Host on which the instance resides.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportInstance.html">ImportInstance</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    hostId?: Value<string>;
    /** <code>HostResourceGroupArn</code>  <a name="cfn-ec2-ec2fleet-placement-hostresourcegrouparn"></a>
  The ARN of the host resource group in which to launch the instances.<br />
  If you specify this parameter, either omit the <strong>Tenancy</strong> parameter or set it to <code>host</code>.<br />
  This parameter is not supported for <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateFleet">CreateFleet</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    hostResourceGroupArn?: Value<string>;
}
