Skip to content
v2.278.0

GameServerGroupReference ​

Struct External

A reference to a GameServerGroup resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as interfaces_gamelift } from 'aws-cdk-lib/interfaces';
const gameServerGroupReference: interfaces_gamelift.GameServerGroupReference = {
  gameServerGroupArn: 'gameServerGroupArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_gamelift as interfaces_gamelift

game_server_group_reference = interfaces_gamelift.GameServerGroupReference(
    game_server_group_arn="gameServerGroupArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.gamelift.*;

GameServerGroupReference gameServerGroupReference = GameServerGroupReference.builder()
        .gameServerGroupArn("gameServerGroupArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.GameLift;

var gameServerGroupReference = new GameServerGroupReference {
    GameServerGroupArn = "gameServerGroupArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

gameServerGroupReference := &GameServerGroupReference{
	GameServerGroupArn: jsii.String("gameServerGroupArn"),
}

Properties ​

gameServerGroupArnstringgame_server_group_arnstrgameServerGroupArnStringGameServerGroupArnstringGameServerGroupArn*string required #
The GameServerGroupArn of the GameServerGroup resource.