BuildAttributes

class aws_cdk.aws_gamelift_alpha.BuildAttributes(*, build_arn=None, build_id=None, role=None)

Bases: object

(experimental) Represents a Build content defined outside of this stack.

Parameters:
  • build_arn (Optional[str]) – (experimental) The ARN of the build. At least one of buildArn and buildId must be provided. Default: derived from buildId.

  • build_id (Optional[str]) – (experimental) The identifier of the build. At least one of buildId and buildArn must be provided. Default: derived from buildArn.

  • role (Optional[IRole]) – (experimental) 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.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_gamelift_alpha as gamelift_alpha
from aws_cdk import aws_iam as iam

# role: iam.Role

build_attributes = gamelift_alpha.BuildAttributes(
    build_arn="buildArn",
    build_id="buildId",
    role=role
)

Attributes

build_arn

(experimental) The ARN of the build.

At least one of buildArn and buildId must be provided.

Default:

derived from buildId.

Stability:

experimental

build_id

(experimental) The identifier of the build.

At least one of buildId and buildArn must be provided.

Default:

derived from buildArn.

Stability:

experimental

role

(experimental) 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.

Stability:

experimental