@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.894Z") @Stability(value=Stable) public interface CfnLocationS3Props 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.datasync.*;
CfnLocationS3Props cfnLocationS3Props = CfnLocationS3Props.builder()
.s3BucketArn("s3BucketArn")
.s3Config(S3ConfigProperty.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.build())
// the properties below are optional
.s3StorageClass("s3StorageClass")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLocationS3Props.Builder
A builder for
CfnLocationS3Props |
static class |
CfnLocationS3Props.Jsii$Proxy
An implementation for
CfnLocationS3Props |
| Modifier and Type | Method and Description |
|---|---|
static CfnLocationS3Props.Builder |
builder() |
String |
getS3BucketArn()
The ARN of the Amazon S3 bucket.
|
Object |
getS3Config()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket.
|
default String |
getS3StorageClass()
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination.
|
default String |
getSubdirectory()
A subdirectory in the Amazon S3 bucket.
|
default List<CfnTag> |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
@Stability(value=Stable) @NotNull String getS3BucketArn()
@Stability(value=Stable) @NotNull Object getS3Config()
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .
@Stability(value=Stable) @Nullable default String getS3StorageClass()
For buckets in AWS Regions , the storage class defaults to S3 Standard.
For more information about S3 storage classes, see Amazon S3 Storage Classes . Some storage classes have behaviors that can affect your S3 storage costs. For detailed information, see Considerations When Working with Amazon S3 Storage Classes in DataSync .
@Stability(value=Stable) @Nullable default String getSubdirectory()
This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
The value can be an empty string. We recommend using tags to name your resources.
@Stability(value=Stable) static CfnLocationS3Props.Builder builder()
CfnLocationS3Props.Builder of CfnLocationS3PropsCopyright © 2022. All rights reserved.