aws-native.gamelift.getGameServerGroup
The AWS::GameLift::GameServerGroup resource creates an Amazon GameLift (GameLift) GameServerGroup.
Using getGameServerGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGameServerGroup(args: GetGameServerGroupArgs, opts?: InvokeOptions): Promise<GetGameServerGroupResult>
function getGameServerGroupOutput(args: GetGameServerGroupOutputArgs, opts?: InvokeOptions): Output<GetGameServerGroupResult>
def get_game_server_group(game_server_group_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetGameServerGroupResult
def get_game_server_group_output(game_server_group_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGameServerGroupResult]
func LookupGameServerGroup(ctx *Context, args *LookupGameServerGroupArgs, opts ...InvokeOption) (*LookupGameServerGroupResult, error)
func LookupGameServerGroupOutput(ctx *Context, args *LookupGameServerGroupOutputArgs, opts ...InvokeOption) LookupGameServerGroupResultOutput
> Note: This function is named LookupGameServerGroup
in the Go SDK.
public static class GetGameServerGroup
{
public static Task<GetGameServerGroupResult> InvokeAsync(GetGameServerGroupArgs args, InvokeOptions? opts = null)
public static Output<GetGameServerGroupResult> Invoke(GetGameServerGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGameServerGroupResult> getGameServerGroup(GetGameServerGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:gamelift:getGameServerGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Game
Server stringGroup Arn A generated unique ID for the game server group.
- Game
Server stringGroup Arn A generated unique ID for the game server group.
- game
Server StringGroup Arn A generated unique ID for the game server group.
- game
Server stringGroup Arn A generated unique ID for the game server group.
- game_
server_ strgroup_ arn A generated unique ID for the game server group.
- game
Server StringGroup Arn A generated unique ID for the game server group.
getGameServerGroup Result
The following output properties are available:
- Auto
Scaling stringGroup Arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- Auto
Scaling Pulumi.Policy Aws Native. Game Lift. Outputs. Game Server Group Auto Scaling Policy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- Balancing
Strategy Pulumi.Aws Native. Game Lift. Game Server Group Balancing Strategy 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.
- Game
Server stringGroup Arn A generated unique ID for the game server group.
- Game
Server stringGroup Name An identifier for the new game server group.
- Game
Server Pulumi.Protection Policy Aws Native. Game Lift. Game Server Group Game Server Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- Instance
Definitions List<Pulumi.Aws Native. Game Lift. Outputs. Game Server Group Instance Definition> A set of EC2 instance types to use when creating instances in the group.
- Launch
Template Pulumi.Aws Native. Game Lift. Outputs. Game Server Group Launch Template The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- Max
Size double The maximum number of instances allowed in the EC2 Auto Scaling group.
- Min
Size double The minimum number of instances allowed in the EC2 Auto Scaling group.
- Role
Arn string The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- List<Pulumi.
Aws Native. Game Lift. Outputs. Game Server Group Tag> A list of labels to assign to the new game server group resource.
- Vpc
Subnets List<string> A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
- Auto
Scaling stringGroup Arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- Auto
Scaling GamePolicy Server Group Auto Scaling Policy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- Balancing
Strategy GameServer Group Balancing Strategy 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.
- Game
Server stringGroup Arn A generated unique ID for the game server group.
- Game
Server stringGroup Name An identifier for the new game server group.
- Game
Server GameProtection Policy Server Group Game Server Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- Instance
Definitions []GameServer Group Instance Definition A set of EC2 instance types to use when creating instances in the group.
- Launch
Template GameServer Group Launch Template The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- Max
Size float64 The maximum number of instances allowed in the EC2 Auto Scaling group.
- Min
Size float64 The minimum number of instances allowed in the EC2 Auto Scaling group.
- Role
Arn string The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- []Game
Server Group Tag A list of labels to assign to the new game server group resource.
- Vpc
Subnets []string A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
- auto
Scaling StringGroup Arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- auto
Scaling GamePolicy Server Group Auto Scaling Policy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- balancing
Strategy GameServer Group Balancing Strategy 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.
- game
Server StringGroup Arn A generated unique ID for the game server group.
- game
Server StringGroup Name An identifier for the new game server group.
- game
Server GameProtection Policy Server Group Game Server Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- instance
Definitions List<GameServer Group Instance Definition> A set of EC2 instance types to use when creating instances in the group.
- launch
Template GameServer Group Launch Template The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- max
Size Double The maximum number of instances allowed in the EC2 Auto Scaling group.
- min
Size Double The minimum number of instances allowed in the EC2 Auto Scaling group.
- role
Arn String The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- List<Game
Server Group Tag> A list of labels to assign to the new game server group resource.
- vpc
Subnets List<String> A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
- auto
Scaling stringGroup Arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- auto
Scaling GamePolicy Server Group Auto Scaling Policy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- balancing
Strategy GameServer Group Balancing Strategy 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.
- game
Server stringGroup Arn A generated unique ID for the game server group.
- game
Server stringGroup Name An identifier for the new game server group.
- game
Server GameProtection Policy Server Group Game Server Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- instance
Definitions GameServer Group Instance Definition[] A set of EC2 instance types to use when creating instances in the group.
- launch
Template GameServer Group Launch Template The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- max
Size number The maximum number of instances allowed in the EC2 Auto Scaling group.
- min
Size number The minimum number of instances allowed in the EC2 Auto Scaling group.
- role
Arn string The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- Game
Server Group Tag[] A list of labels to assign to the new game server group resource.
- vpc
Subnets string[] A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
- auto_
scaling_ strgroup_ arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- auto_
scaling_ Gamepolicy Server Group Auto Scaling Policy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- balancing_
strategy GameServer Group Balancing Strategy 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.
- game_
server_ strgroup_ arn A generated unique ID for the game server group.
- game_
server_ strgroup_ name An identifier for the new game server group.
- game_
server_ Gameprotection_ policy Server Group Game Server Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- instance_
definitions Sequence[GameServer Group Instance Definition] A set of EC2 instance types to use when creating instances in the group.
- launch_
template GameServer Group Launch Template The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- max_
size float The maximum number of instances allowed in the EC2 Auto Scaling group.
- min_
size float The minimum number of instances allowed in the EC2 Auto Scaling group.
- role_
arn str The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- Sequence[Game
Server Group Tag] A list of labels to assign to the new game server group resource.
- vpc_
subnets Sequence[str] A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
- auto
Scaling StringGroup Arn A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- auto
Scaling Property MapPolicy Configuration settings to define a scaling policy for the Auto Scaling group that is optimized for game hosting
- balancing
Strategy "SPOT_ONLY" | "SPOT_PREFERRED" | "ON_DEMAND_ONLY" 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.
- game
Server StringGroup Arn A generated unique ID for the game server group.
- game
Server StringGroup Name An identifier for the new game server group.
- game
Server "NO_PROTECTION" | "FULL_PROTECTION"Protection Policy A flag that indicates whether instances in the game server group are protected from early termination.
- instance
Definitions List<Property Map> A set of EC2 instance types to use when creating instances in the group.
- launch
Template Property Map The EC2 launch template that contains configuration settings and game server code to be deployed to all instances in the game server group.
- max
Size Number The maximum number of instances allowed in the EC2 Auto Scaling group.
- min
Size Number The minimum number of instances allowed in the EC2 Auto Scaling group.
- role
Arn String The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- List<Property Map>
A list of labels to assign to the new game server group resource.
- vpc
Subnets List<String> A list of virtual private cloud (VPC) subnets to use with instances in the game server group.
Supporting Types
GameServerGroupAutoScalingPolicy
GameServerGroupBalancingStrategy
GameServerGroupGameServerProtectionPolicy
GameServerGroupInstanceDefinition
- Instance
Type string - Weighted
Capacity string
- Instance
Type string - Weighted
Capacity string
- instance
Type String - weighted
Capacity String
- instance
Type string - weighted
Capacity string
- instance_
type str - weighted_
capacity str
- instance
Type String - weighted
Capacity String
GameServerGroupLaunchTemplate
- Launch
Template stringId - Launch
Template stringName - Version string
- Launch
Template stringId - Launch
Template stringName - Version string
- launch
Template StringId - launch
Template StringName - version String
- launch
Template stringId - launch
Template stringName - version string
- launch_
template_ strid - launch_
template_ strname - version str
- launch
Template StringId - launch
Template StringName - version String
GameServerGroupTag
GameServerGroupTargetTrackingConfiguration
- Target
Value double
- Target
Value float64
- target
Value Double
- target
Value number
- target_
value float
- target
Value Number
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0