GameServerGroupArgs constructor
- Input<
GameServerGroupAutoScalingPolicy?> ? autoScalingPolicy, - Input<
String?> ? balancingStrategy, - required Input<
String> gameServerGroupName, - Input<
String?> ? gameServerProtectionPolicy, - required Input<
List< instanceDefinitions,GameServerGroupInstanceDefinition> > - required Input<
GameServerGroupLaunchTemplate> launchTemplate, - required Input<
int> maxSize, - required Input<
int> minSize, - Input<
String?> ? region, - required Input<
String> roleArn, - Input<
Map< ? tags,String, String> ?> - Input<
List< ? vpcSubnets,String> ?>
Creates a new GameServerGroupArgs.
autoScalingPolicy Optional.
balancingStrategy Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances.
gameServerGroupName Name of the game server group.
gameServerProtectionPolicy Indicates whether instances in the game server group are protected from early termination.
instanceDefinitions Required.
launchTemplate Required.
maxSize The maximum number of instances allowed in the EC2 Auto Scaling group.
minSize The minimum number of instances allowed in the EC2 Auto Scaling group.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
roleArn ARN for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
tags Key-value map of resource tags
vpcSubnets A list of VPC subnets to use with instances in the game server group.
Implementation
const GameServerGroupArgs({
this.autoScalingPolicy,
this.balancingStrategy,
required this.gameServerGroupName,
this.gameServerProtectionPolicy,
required this.instanceDefinitions,
required this.launchTemplate,
required this.maxSize,
required this.minSize,
this.region,
required this.roleArn,
this.tags,
this.vpcSubnets,
});