interface S3LocationProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.GameLift.CfnScript.S3LocationProperty |
Java | software.amazon.awscdk.services.gamelift.CfnScript.S3LocationProperty |
Python | aws_cdk.aws_gamelift.CfnScript.S3LocationProperty |
TypeScript | @aws-cdk/aws-gamelift » CfnScript » S3LocationProperty |
The location in Amazon S3 where build or script files can be 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 * as gamelift from '@aws-cdk/aws-gamelift';
const s3LocationProperty: gamelift.CfnScript.S3LocationProperty = {
bucket: 'bucket',
key: 'key',
roleArn: 'roleArn',
// the properties below are optional
objectVersion: 'objectVersion',
};
Properties
Name | Type | Description |
---|---|---|
bucket | string | An Amazon S3 bucket identifier. Thename of the S3 bucket. |
key | string | The name of the zip file that contains the build files or script files. |
role | string | The Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift to access the S3 bucket. |
object | string | The 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 an S3 bucket that you own. Use this parameter to specify a specific version of the file. If not set, the latest version of the file is retrieved.