@Stability(value=Stable)
public static interface CfnBuild.S3LocationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.gamelift.*;
S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
.bucket("bucket")
.key("key")
.roleArn("roleArn")
// the properties below are optional
.objectVersion("objectVersion")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBuild.S3LocationProperty.Builder
A builder for
CfnBuild.S3LocationProperty |
static class |
CfnBuild.S3LocationProperty.Jsii$Proxy
An implementation for
CfnBuild.S3LocationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBuild.S3LocationProperty.Builder |
builder() |
String |
getBucket()
An Amazon S3 bucket identifier.
|
String |
getKey()
The name of the zip file that contains the build files or script files.
|
default String |
getObjectVersion()
The version of the file, if object versioning is turned on for the bucket.
|
String |
getRoleArn()
The Amazon Resource Name ( [ARN](https://docs.aws.amazon.com/AmazonS3/latest/dev/s3-arn-format.html) ) for an IAM role that allows Amazon GameLift to access the S3 bucket.
|
@Stability(value=Stable) @NotNull String getBucket()
GameLift currently does not support uploading from Amazon S3 buckets with names that contain a dot (.).
@Stability(value=Stable) @NotNull String getKey()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getObjectVersion()
Amazon GameLift uses this information when retrieving files from your S3 bucket. To retrieve a specific version of the file, provide an object version. To retrieve the latest version of the file, do not set this parameter.
@Stability(value=Stable) static CfnBuild.S3LocationProperty.Builder builder()
Copyright © 2022. All rights reserved.