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

Represents a Build content defined outside of this stack.

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

## 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 buildAttributes: gamelift_alpha.BuildAttributes = {
  buildArn: 'buildArn',
  buildId: 'buildId',
  role: role,
};
```

## Properties

- `buildArn`: string — The ARN of the build.

  **Default:** derived from `buildId`.

  At least one of `buildArn` and `buildId` must be provided.

- `buildId`: string — The identifier of the build.

  **Default:** derived from `buildArn`.

  At least one of `buildId` and `buildArn`  must be provided.

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

  **Default:** the imported fleet cannot be granted access to other resources as an `iam.IGrantable`.
