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

Represents a Script content defined outside of this stack.

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

## 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 scriptAttributes: gamelift_alpha.ScriptAttributes = {
  scriptArn: 'scriptArn',

  // the properties below are optional
  role: role,
};
```

## Properties

- `role`: [IRole](/cdk/api/v2/docs/aws-cdk-lib.aws_iam.IRole.html) = undefined — The IAM role assumed by GameLift to access server script in S3.

- `scriptArn`: string (required) — The ARN of the realtime server script.
