Interface CfnScript.IS3LocationProperty
The location in Amazon S3 where build or script files can be stored for access by Amazon GameLift.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IS3LocationProperty
Syntax (vb)
Public Interface IS3LocationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GameLift;
var s3LocationProperty = new S3LocationProperty {
Bucket = "bucket",
Key = "key",
RoleArn = "roleArn",
// the properties below are optional
ObjectVersion = "objectVersion"
};
Synopsis
Properties
Bucket | An Amazon S3 bucket identifier. Thename of the S3 bucket. |
Key | The name of the zip file that contains the build files or script files. |
ObjectVersion | The version of the file, if object versioning is turned on for the bucket. |
RoleArn | The Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift to access the S3 bucket. |
Properties
Bucket
An Amazon S3 bucket identifier. Thename of the S3 bucket.
string Bucket { get; }
Property Value
System.String
Remarks
Amazon GameLift doesn't support uploading from Amazon S3 buckets with names that contain a dot (.).
Key
The name of the zip file that contains the build files or script files.
string Key { get; }
Property Value
System.String
Remarks
ObjectVersion
The version of the file, if object versioning is turned on for the bucket.
virtual string ObjectVersion { get; }
Property Value
System.String
Remarks
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.
RoleArn
The Amazon Resource Name ( ARN ) for an IAM role that allows Amazon GameLift to access the S3 bucket.
string RoleArn { get; }
Property Value
System.String