Interface CfnLocationS3Props

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.207Z") @Stability(Stable) public interface CfnLocationS3Props extends
Properties for defining a CfnLocationS3.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnLocationS3Props cfnLocationS3Props = CfnLocationS3Props.builder()
         // the properties below are optional
  • Method Details

    • getS3Config

      @Stability(Stable) @NotNull 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.

      For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .

    • getS3BucketArn

      @Stability(Stable) @Nullable default String getS3BucketArn()
      The ARN of the Amazon S3 bucket.
    • getS3StorageClass

      @Stability(Stable) @Nullable 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.

      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 .

    • getSubdirectory

      @Stability(Stable) @Nullable default String getSubdirectory()
      A subdirectory in the Amazon S3 bucket.

      This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.

    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The key-value pair that represents the tag that you want to add to the location.

      The value can be an empty string. We recommend using tags to name your resources.

    • builder

      @Stability(Stable) static CfnLocationS3Props.Builder builder()
      a CfnLocationS3Props.Builder of CfnLocationS3Props