GameServerGroupAttributes

class aws_cdk.aws_gamelift_alpha.GameServerGroupAttributes(*, auto_scaling_group_arn, game_server_group_arn=None, game_server_group_name=None, role=None)

Bases: object

(experimental) Represents a GameServerGroup content defined outside of this stack.

Parameters:
  • auto_scaling_group_arn (str) – (experimental) The ARN of the generated AutoScaling group. Default: the imported game server group does not have autoscaling group information

  • game_server_group_arn (Optional[str]) – (experimental) The ARN of the game server group. At least one of gameServerGroupArn and gameServerGroupName must be provided. Default: derived from gameServerGroupName.

  • game_server_group_name (Optional[str]) – (experimental) The name of the game server group. At least one of gameServerGroupArn and gameServerGroupName must be provided. Default: derived from gameServerGroupArn.

  • role (Optional[IRole]) – (experimental) The IAM role that allows Amazon GameLift to access your Amazon EC2 Auto Scaling groups. Default: the imported game server group cannot be granted access to other resources as an iam.IGrantable.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha
from aws_cdk import aws_iam as iam

# role: iam.Role

game_server_group_attributes = gamelift_alpha.GameServerGroupAttributes(
    auto_scaling_group_arn="autoScalingGroupArn",

    # the properties below are optional
    game_server_group_arn="gameServerGroupArn",
    game_server_group_name="gameServerGroupName",
    role=role
)

Attributes

auto_scaling_group_arn

(experimental) The ARN of the generated AutoScaling group.

Default:

the imported game server group does not have autoscaling group information

Stability:

experimental

game_server_group_arn

(experimental) The ARN of the game server group.

At least one of gameServerGroupArn and gameServerGroupName must be provided.

Default:

derived from gameServerGroupName.

Stability:

experimental

game_server_group_name

(experimental) The name of the game server group.

At least one of gameServerGroupArn and gameServerGroupName must be provided.

Default:

derived from gameServerGroupArn.

Stability:

experimental

role

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

Default:

the imported game server group cannot be granted access to other resources as an iam.IGrantable.

Stability:

experimental