Class CfnBuild.StorageLocationProperty
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GameLift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBuild.StorageLocationProperty : CfnBuild.IStorageLocationProperty
Syntax (vb)
Public Class CfnBuild.StorageLocationProperty 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() | The location in Amazon S3 where build or script files are stored for access by Amazon GameLift. |
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()
The location in Amazon S3 where build or script files are stored for access by Amazon GameLift.
public StorageLocationProperty()
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"
};
Properties
Bucket
An Amazon S3 bucket identifier. The name of the S3 bucket.
public string Bucket { get; set; }
Property Value
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
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
Remarks
Use this parameter to specify a specific version. If this parameter isn't set, Amazon GameLift Servers 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; }