import { Value } from '../../cloudformation/Value';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type PlacementGroupAttributes = {
    GroupName: Attribute<string>;
};
export type PlacementGroup = AwsResource<'AWS::EC2::PlacementGroup', PlacementGroupProperties, PlacementGroupAttributes>;
/**
  Specifies a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html">the AWS Docs</a>
*/
export declare function placementGroup(placementGroupProps?: PlacementGroupProperties): PlacementGroup;
/**
  Specifies a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html">the AWS Docs</a>
*/
export interface PlacementGroupProperties {
    /** <p> */
    spreadLevel?: Value<string>;
    /** <code>Strategy</code>  <a name="cfn-ec2-placementgroup-strategy"></a>
  The placement strategy.<br />
  
  Required: No<br />
  
  Allowed values: <code>cluster | partition | spread</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> */
    strategy?: Value<'cluster' | 'partition' | 'spread'>;
    /** <code>PartitionCount</code>  <a name="cfn-ec2-placementgroup-partitioncount"></a>
  The number of partitions. Valid only when <strong>Strategy</strong> is set to <code>partition</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> */
    partitionCount?: Value<number>;
    /** <code>Tags</code>  <a name="cfn-ec2-placementgroup-tags"></a>
  The tags to apply to the new placement group.<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> */
    tags?: Tag[];
}
