Interface CfnBuild.IStorageLocationProperty
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IStorageLocationProperty
Syntax (vb)
Public Interface IStorageLocationProperty
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 storageLocationProperty = new StorageLocationProperty {
Bucket = "bucket",
Key = "key",
RoleArn = "roleArn",
// the properties below are optional
ObjectVersion = "objectVersion"
};
Synopsis
Properties
Bucket | An Amazon S3 bucket identifier. The name of the S3 bucket. |
Key | The name of the zip file that contains the build files or script files. |
ObjectVersion | A version of a stored file to retrieve, if the object versioning feature is turned on for the S3 bucket. |
RoleArn | The ARNfor an IAM role that allows Amazon GameLift to access the S3 bucket. |
Properties
Bucket
An Amazon S3 bucket identifier. The name 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
A version of a stored file to retrieve, if the object versioning feature is turned on for the S3 bucket.
virtual string ObjectVersion { get; }
Property Value
System.String
Remarks
Use this parameter to specify a specific version. If this parameter isn't set, Amazon GameLift retrieves the latest version of the file.
RoleArn
The ARNfor an IAM role that allows Amazon GameLift to access the S3 bucket.
string RoleArn { get; }
Property Value
System.String