GameServerGroupArgs class

The set of arguments for GameServerGroup. The set of arguments for GameServerGroup.

Constructors

GameServerGroupArgs({Input<GameServerGroupAutoScalingPolicy?>? autoScalingPolicy, Input<String?>? balancingStrategy, required Input<String> gameServerGroupName, Input<String?>? gameServerProtectionPolicy, required Input<List<GameServerGroupInstanceDefinition>> instanceDefinitions, required Input<GameServerGroupLaunchTemplate> launchTemplate, required Input<int> maxSize, required Input<int> minSize, Input<String?>? region, required Input<String> roleArn, Input<Map<String, String>?>? tags, Input<List<String>?>? vpcSubnets})
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.
const
GameServerGroupArgs.fromMap(Map<String, dynamic> map)
factory

Properties

autoScalingPolicy → Input<GameServerGroupAutoScalingPolicy?>?
final
balancingStrategy → Input<String?>?
Indicates how GameLift FleetIQ balances the use of Spot Instances and On-Demand Instances. Valid values: SPOT_ONLY, SPOT_PREFERRED, ON_DEMAND_ONLY. Defaults to SPOT_PREFERRED.
final
gameServerGroupName → Input<String>
Name of the game server group. This value is used to generate unique ARN identifiers for the EC2 Auto Scaling group and the GameLift FleetIQ game server group.
final
gameServerProtectionPolicy → Input<String?>?
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. Valid values: NO_PROTECTION, FULL_PROTECTION. Defaults to NO_PROTECTION.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceDefinitions → Input<List<GameServerGroupInstanceDefinition>>
final
launchTemplate → Input<GameServerGroupLaunchTemplate>
final
maxSize → Input<int>
The maximum number of instances allowed in the EC2 Auto Scaling group. During automatic scaling events, GameLift FleetIQ and EC2 do not scale up the group above this maximum.
final
minSize → Input<int>
The minimum number of instances allowed in the EC2 Auto Scaling group. During automatic scaling events, GameLift FleetIQ and EC2 do not scale down the group below this minimum.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
roleArn → Input<String>
ARN for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Key-value map of resource tags
final
vpcSubnets → Input<List<String>?>?
A list of VPC subnets to use with instances in the game server group. By default, all GameLift FleetIQ-supported Availability Zones are used.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited