@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)",
date="2023-03-22T19:35:35.773Z")
public interface CfnLocationS3Props
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() .s3Config(S3ConfigProperty.builder() .bucketAccessRoleArn("bucketAccessRoleArn") .build()) // the properties below are optional .s3BucketArn("s3BucketArn") .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() |
default java.lang.String |
getS3BucketArn()
The ARN of the Amazon S3 bucket.
|
java.lang.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 java.lang.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 java.lang.String |
getSubdirectory()
A subdirectory in the Amazon S3 bucket.
|
default java.util.List<CfnTag> |
getTags()
The key-value pair that represents the tag that you want to add to the location.
|
java.lang.Object getS3Config()
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .
default java.lang.String getS3BucketArn()
default java.lang.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 .
default java.lang.String getSubdirectory()
This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
default java.util.List<CfnTag> getTags()
The value can be an empty string. We recommend using tags to name your resources.
static CfnLocationS3Props.Builder builder()
CfnLocationS3Props.Builder
of CfnLocationS3Props