We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.gamelift.getGameServerGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
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.
- 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.
- Role
Arn string - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- Auto
Scaling stringGroup Arn - A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- 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.
- Role
Arn string - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- auto
Scaling StringGroup Arn - A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- 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.
- role
Arn String - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- auto
Scaling stringGroup Arn - A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- 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.
- role
Arn string - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- auto_
scaling_ strgroup_ arn - A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- 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.
- role_
arn str - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
- auto
Scaling StringGroup Arn - A generated unique ID for the EC2 Auto Scaling group that is associated with this game server group.
- 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.
- role
Arn String - The Amazon Resource Name (ARN) for an IAM role that allows Amazon GameLift to access your EC2 Auto Scaling groups.
Supporting Types
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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi