interface GameServerGroupAttributes
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.Alpha.GameServerGroupAttributes |
Go | github.com/aws/aws-cdk-go/awscdkgameliftalpha/v2#GameServerGroupAttributes |
Java | software.amazon.awscdk.services.gamelift.alpha.GameServerGroupAttributes |
Python | aws_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
Name | Type | Description |
---|---|---|
auto | string | The ARN of the generated AutoScaling group. |
game | string | The ARN of the game server group. |
game | string | The name of the game server group. |
role? | IRole | The 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.