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

Properties for a new build.

Extends: BuildProps
Used as props by: Build

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

## Example

```ts
declare const bucket: s3.Bucket;
const build = new gamelift.Build(this, 'Build', {
  content: gamelift.Content.fromBucket(bucket, "sample-asset-key")
});

new CfnOutput(this, 'BuildArn', { value: build.buildArn });
new CfnOutput(this, 'BuildId', { value: build.buildId });
```

## Properties

- `buildName`: string — Name of this build.

  **Default:** No name

- `buildVersion`: string — Version of this build.

  **Default:** No version

- `content`: [Content](/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.Content.html) (required) — The game build file storage.

- `operatingSystem`: [OperatingSystem](/cdk/api/v2/docs/@aws-cdk_aws-gamelift-alpha.OperatingSystem.html) — The operating system that the game server binaries are built to run on.

  **Default:** No version

- `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:** a role will be created with default permissions.

  If providing a custom role, it needs to trust the GameLift service principal (gamelift.amazonaws.com) and be granted sufficient permissions
  to have Read access to a specific key content into a specific S3 bucket.
  Below an example of required permission:
  {
   "Version": "2012-10-17",
   "Statement": [{
         "Effect": "Allow",
         "Action": [
             "s3:GetObject",
             "s3:GetObjectVersion"
         ],
         "Resource": "arn:aws:s3:::bucket-name/object-name"
   }]
  }

- `serverSdkVersion`: string = '4.0.2' — A server SDK version you used when integrating your game server build with Amazon GameLift.
