> **Experimental**
>
> `@aws-cdk/aws-gamelift-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# GameServerGroupAttributes

Represents a GameServerGroup content defined outside of this stack.

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`lib/game-server-group.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-gamelift-alpha/lib/game-server-group.ts#L188)

## Example

```ts
// 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

- `autoScalingGroupArn`: string (required) — The ARN of the generated AutoScaling group.

  **Default:** the imported game server group does not have autoscaling group information

- `gameServerGroupArn`: string — The ARN of the game server group.

  **Default:** derived from `gameServerGroupName`.

  At least one of `gameServerGroupArn` and `gameServerGroupName` must be provided.

- `gameServerGroupName`: string — The name of the game server group.

  **Default:** derived from `gameServerGroupArn`.

  At least one of `gameServerGroupArn` and `gameServerGroupName` must be provided.

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) — 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`.
