aws-cdk-lib.aws_gamelift.CfnBuild.StorageLocationProperty

interface StorageLocationProperty

LanguageType name
.NETAmazon.CDK.AWS.GameLift.CfnBuild.StorageLocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsgamelift#CfnBuild_StorageLocationProperty
Javasoftware.amazon.awscdk.services.gamelift.CfnBuild.StorageLocationProperty
Pythonaws_cdk.aws_gamelift.CfnBuild.StorageLocationProperty
TypeScript aws-cdk-lib » aws_gamelift » CfnBuild » StorageLocationProperty

The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_gamelift as gamelift } from 'aws-cdk-lib';
const storageLocationProperty: gamelift.CfnBuild.StorageLocationProperty = {
  bucket: 'bucket',
  key: 'key',
  roleArn: 'roleArn',

  // the properties below are optional
  objectVersion: 'objectVersion',
};

Properties

NameTypeDescription
bucketstringAn Amazon S3 bucket identifier. Thename of the S3 bucket.
keystringThe name of the zip file that contains the build files or script files.
roleArnstringThe Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift to access the S3 bucket.
objectVersion?stringThe version of the file, if object versioning is turned on for the bucket.

bucket

Type: string

An Amazon S3 bucket identifier. Thename of the S3 bucket.

Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).


key

Type: string

The name of the zip file that contains the build files or script files.


roleArn

Type: string

The Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift to access the S3 bucket.


objectVersion?

Type: string (optional)

The version of the file, if object versioning is turned on for the bucket.

Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter.