@aws-cdk_aws-gamelift-alpha.GameServerGroupAttributes

interface GameServerGroupAttributes ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.GameLift.Alpha.GameServerGroupAttributes
Gogithub.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#GameServerGroupAttributes
Javasoftware.amazon.awscdk.services.gamelift.alpha.GameServerGroupAttributes
Pythonaws_cdk.aws_gamelift_alpha.GameServerGroupAttributes
TypeScript (source)@aws-cdk/aws-gamelift-alpha ยป GameServerGroupAttributes

Represents a GameServerGroup content defined outside of this stack.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as gamelift_alpha from '@aws-cdk/aws-gamelift-alpha';
import { aws_iam as iam } from 'aws-cdk-lib';

declare const role: iam.Role;
const gameServerGroupAttributes: gamelift_alpha.GameServerGroupAttributes = {
  autoScalingGroupArn: 'autoScalingGroupArn',

  // the properties below are optional
  gameServerGroupArn: 'gameServerGroupArn',
  gameServerGroupName: 'gameServerGroupName',
  role: role,
};

Properties

NameTypeDescription
autoScalingGroupArn๐Ÿ”นstringThe ARN of the generated AutoScaling group.
gameServerGroupArn?๐Ÿ”นstringThe ARN of the game server group.
gameServerGroupName?๐Ÿ”นstringThe name of the game server group.
role?๐Ÿ”นIRoleThe IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.

autoScalingGroupArn๐Ÿ”น

Type: string

The ARN of the generated AutoScaling group.


gameServerGroupArn?๐Ÿ”น

Type: string (optional, default: derived from gameServerGroupName.)

The ARN of the game server group.

At least one of gameServerGroupArn and gameServerGroupName must be provided.


gameServerGroupName?๐Ÿ”น

Type: string (optional, default: derived from gameServerGroupArn.)

The name of the game server group.

At least one of gameServerGroupArn and gameServerGroupName must be provided.


role?๐Ÿ”น

Type: IRole (optional, default: the imported game server group cannot be granted access to other resources as an iam.IGrantable.)

The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups.