GameServerGroupArgs

data class GameServerGroupArgs(val autoScalingPolicy: Output<GameServerGroupAutoScalingPolicyArgs>? = null, val balancingStrategy: Output<GameServerGroupBalancingStrategy>? = null, val deleteOption: Output<GameServerGroupDeleteOption>? = null, val gameServerGroupName: Output<String>? = null, val gameServerProtectionPolicy: Output<GameServerGroupGameServerProtectionPolicy>? = null, val instanceDefinitions: Output<List<GameServerGroupInstanceDefinitionArgs>>? = null, val launchTemplate: Output<GameServerGroupLaunchTemplateArgs>? = null, val maxSize: Output<Double>? = null, val minSize: Output<Double>? = null, val roleArn: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val vpcSubnets: Output<List<String>>? = null) : ConvertibleToJava<GameServerGroupArgs>

The AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup.

Constructors

Link copied to clipboard
constructor(autoScalingPolicy: Output<GameServerGroupAutoScalingPolicyArgs>? = null, balancingStrategy: Output<GameServerGroupBalancingStrategy>? = null, deleteOption: Output<GameServerGroupDeleteOption>? = null, gameServerGroupName: Output<String>? = null, gameServerProtectionPolicy: Output<GameServerGroupGameServerProtectionPolicy>? = null, instanceDefinitions: Output<List<GameServerGroupInstanceDefinitionArgs>>? = null, launchTemplate: Output<GameServerGroupLaunchTemplateArgs>? = null, maxSize: Output<Double>? = null, minSize: Output<Double>? = null, roleArn: Output<String>? = null, tags: Output<List<TagArgs>>? = null, vpcSubnets: Output<List<String>>? = null)

Properties

Link copied to clipboard

Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Link copied to clipboard

The fallback balancing method to use for the game server group when Spot Instances in a Region become unavailable or are not viable for game hosting.

Link copied to clipboard

The type of delete to perform.

Link copied to clipboard
val gameServerGroupName: Output<String>? = null

An identifier for the new game server group.

Link copied to clipboard

A flag that indicates whether instances in the game server group are protected from early termination.

Link copied to clipboard

A set of EC2 instance types to use when creating instances in the group.

Link copied to clipboard

The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Link copied to clipboard
val maxSize: Output<Double>? = null

The maximum number of instances allowed in the EC2 Auto Scaling group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Link copied to clipboard
val minSize: Output<Double>? = null

The minimum number of instances allowed in the EC2 Auto Scaling group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Link copied to clipboard
val roleArn: Output<String>? = null

The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.

Link copied to clipboard
val tags: Output<List<TagArgs>>? = null

A list of labels to assign to the new game server group resource. Updating game server group tags with CloudFormation will not take effect. Please update this property using AWS GameLift APIs instead.

Link copied to clipboard
val vpcSubnets: Output<List<String>>? = null

A list of virtual private cloud (VPC) subnets to use with instances in the game server group. Updating this game server group property will not take effect for the created EC2 Auto Scaling group, please update the EC2 Auto Scaling group directly after creating the resource.

Functions

Link copied to clipboard
open override fun toJava(): GameServerGroupArgs