import { AutoScalingPolicyProps } from './gameservergroup/AutoScalingPolicyProps';
import { Value } from '../../cloudformation/Value';
import { LaunchTemplateProps } from './gameservergroup/LaunchTemplateProps';
import { InstanceDefinitionProps } from './gameservergroup/InstanceDefinitionProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type GameServerGroupAttributes = {
    AutoScalingGroupArn: Attribute<string>;
    GameServerGroupArn: Attribute<string>;
};
export type GameServerGroup = AwsResource<'AWS::GameLift::GameServerGroup', GameServerGroupProperties, GameServerGroupAttributes>;
/**
  <strong>This operation is used with the Amazon GameLift FleetIQ solution and game server groups.</strong>
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html">the AWS Docs</a>
*/
export declare function gameServerGroup(gameServerGroupProps: GameServerGroupProperties): GameServerGroup;
/**
  <strong>This operation is used with the Amazon GameLift FleetIQ solution and game server groups.</strong>
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-gamelift-gameservergroup.html">the AWS Docs</a>
*/
export interface GameServerGroupProperties {
    /** <code>AutoScalingPolicy</code>  <a name="cfn-gamelift-gameservergroup-autoscalingpolicy"></a>
  Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. The scaling policy uses the metric <code>&quot;PercentUtilizedGameServers&quot;</code> to maintain a buffer of idle game servers that can immediately accommodate new games and players. After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    autoScalingPolicy?: AutoScalingPolicyProps;
    /** <code>MinSize</code>  <a name="cfn-gamelift-gameservergroup-minsize"></a>
  The minimum number of instances allowed in the Amazon EC2 Auto Scaling group. During automatic scaling events, Amazon GameLift FleetIQ and Amazon EC2 do not scale down the group below this minimum. In production, this value should be set to at least 1. After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    minSize?: Value<number>;
    /** <p> */
    deleteOption?: Value<string>;
    /** <p> */
    balancingStrategy?: Value<string>;
    /** <code>GameServerGroupName</code>  <a name="cfn-gamelift-gameservergroup-gameservergroupname"></a>
  A developer-defined identifier for the game server group. The name is unique for each Region in each AWS account.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>128</code><br />
  
  Pattern: <code>[a-zA-Z0-9-\.]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gameServerGroupName: Value<string>;
    /** <code>LaunchTemplate</code>  <a name="cfn-gamelift-gameservergroup-launchtemplate"></a>
  The Amazon EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. You can specify the template using either the template name or ID. For help with creating a launch template, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html">Creating a Launch Template for an Auto Scaling Group</a> in the
  Amazon Elastic Compute Cloud Auto Scaling User Guide: After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.<br />
  If you specify network interfaces in your launch template, you must explicitly set the property <code>AssociatePublicIpAddress</code> to “true”. If no network interface is specified in the launch template, Amazon GameLift FleetIQ uses your account’s default VPC.
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    launchTemplate?: LaunchTemplateProps;
    /** <code>GameServerProtectionPolicy</code>  <a name="cfn-gamelift-gameservergroup-gameserverprotectionpolicy"></a>
  A flag that indicates whether instances in the game server group are protected from early termination. Unprotected instances that have active game servers running might be terminated during a scale-down event, causing players to be dropped from the game. Protected instances cannot be terminated while there are active game servers running except in the event of a forced game server group deletion (see ). An exception to this is with Spot Instances, which can be terminated by AWS regardless of protection status.<br />
  
  Required: No<br />
  
  Allowed values: <code>FULL_PROTECTION | NO_PROTECTION</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    gameServerProtectionPolicy?: Value<'FULL_PROTECTION' | 'NO_PROTECTION'>;
    /** <code>VpcSubnets</code>  <a name="cfn-gamelift-gameservergroup-vpcsubnets"></a>
  A list of virtual private cloud (VPC) subnets to use with instances in the game server group. By default, all Amazon GameLift FleetIQ-supported Availability Zones are used. You can use this parameter to specify VPCs that you’ve set up. This property cannot be updated after the game server group is created, and the corresponding Auto Scaling group will always use the property value that is set with this request, even if the Auto Scaling group is updated directly.<br />
  
  Required: No<br />
  
  Maximum: <code>20</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    vpcSubnets?: Value<Value<string>[]>;
    /** <code>MaxSize</code>  <a name="cfn-gamelift-gameservergroup-maxsize"></a>
  The maximum number of instances allowed in the Amazon EC2 Auto Scaling group. During automatic scaling events, Amazon GameLift FleetIQ and EC2 do not scale up the group above this maximum. After the Auto Scaling group is created, update this value directly in the Auto Scaling group using the AWS console or APIs.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    maxSize?: Value<number>;
    /** <code>InstanceDefinitions</code>  <a name="cfn-gamelift-gameservergroup-instancedefinitions"></a>
  The set of Amazon EC2 instance types that Amazon GameLift FleetIQ can use when balancing and automatically scaling instances in the corresponding Auto Scaling group.<br />
  
  Required: Yes<br />
  
  Maximum: <code>20</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    instanceDefinitions: InstanceDefinitionProps[];
    /** <code>RoleArn</code>  <a name="cfn-gamelift-gameservergroup-rolearn"></a>
  The Amazon Resource Name (<a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html">ARN</a>) for an IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>256</code><br />
  
  Pattern: <code>^arn:.*:role\/[\w+=,.@-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    roleArn: Value<string>;
    /** <code>Tags</code>  <a name="cfn-gamelift-gameservergroup-tags"></a>
  A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging AWS resources is useful for resource management, access management, and cost allocation. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging AWS Resources</a> in the * AWS General Reference*. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags, respectively. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.<br />
  
  Required: No<br />
  
  Maximum: <code>200</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
}
