@Stability(value=Stable) public static final class CfnScript.S3LocationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnScript.S3LocationProperty>
CfnScript.S3LocationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnScript.S3LocationProperty.Builder |
bucket(String bucket)
Sets the value of
CfnScript.S3LocationProperty.getBucket() |
CfnScript.S3LocationProperty |
build()
Builds the configured instance.
|
CfnScript.S3LocationProperty.Builder |
key(String key)
Sets the value of
CfnScript.S3LocationProperty.getKey() |
CfnScript.S3LocationProperty.Builder |
objectVersion(String objectVersion)
Sets the value of
CfnScript.S3LocationProperty.getObjectVersion() |
CfnScript.S3LocationProperty.Builder |
roleArn(String roleArn)
Sets the value of
CfnScript.S3LocationProperty.getRoleArn() |
@Stability(value=Stable) public CfnScript.S3LocationProperty.Builder bucket(String bucket)
CfnScript.S3LocationProperty.getBucket()bucket - An Amazon S3 bucket identifier. This is the name of the S3 bucket. This parameter is required.
GameLift currently does not support uploading from Amazon S3 buckets with names that contain a dot (.).
this@Stability(value=Stable) public CfnScript.S3LocationProperty.Builder key(String key)
CfnScript.S3LocationProperty.getKey()key - The name of the zip file that contains the build files or script files. This parameter is required.this@Stability(value=Stable) public CfnScript.S3LocationProperty.Builder roleArn(String roleArn)
CfnScript.S3LocationProperty.getRoleArn()roleArn - 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. This parameter is required.this@Stability(value=Stable) public CfnScript.S3LocationProperty.Builder objectVersion(String objectVersion)
CfnScript.S3LocationProperty.getObjectVersion()objectVersion - The version of the file, if object versioning is turned on for the bucket.
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.this@Stability(value=Stable) public CfnScript.S3LocationProperty build()
build in interface software.amazon.jsii.Builder<CfnScript.S3LocationProperty>CfnScript.S3LocationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.