Class CfnBuild.StorageLocationProperty
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StorageLocationProperty : Object, CfnBuild.IStorageLocationProperty
Syntax (vb)
Public Class StorageLocationProperty
Inherits Object
Implements CfnBuild.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
Constructors
StorageLocationProperty() |
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. |
Constructors
StorageLocationProperty()
public StorageLocationProperty()
Properties
Bucket
An Amazon S3 bucket identifier. The name of the S3 bucket.
public string Bucket { get; set; }
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.
public string Key { get; set; }
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.
public string ObjectVersion { get; set; }
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.
public string RoleArn { get; set; }
Property Value
System.String