Skip to content
v2.274.0

Experimental

@aws-cdk/aws-gamelift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

BuildAttributes Struct ​

Represents a Build content defined outside of this stack.

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 ​

buildArnoptionalstringbuild_arnoptionalstrbuildArnoptionalStringBuildArnoptionalstringBuildArnoptional*string#
The ARN of the build.

Default: derived from buildId.

At least one of buildArn and buildId must be provided.

buildIdoptionalstringbuild_idoptionalstrbuildIdoptionalStringBuildIdoptionalstringBuildIdoptional*string#
The identifier of the build.

Default: derived from buildArn.

At least one of buildId and buildArn must be provided.

roleoptionalIRoleroleoptionalIRoleroleoptionalIRoleRoleoptionalIRoleRoleoptionalIRole#
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.