@Stability(value=Stable) public static final class CfnLocationS3.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationS3>
CfnLocationS3.| Modifier and Type | Method and Description |
|---|---|
CfnLocationS3 |
build() |
static CfnLocationS3.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLocationS3.Builder |
s3BucketArn(String s3BucketArn)
The ARN of the Amazon S3 bucket.
|
CfnLocationS3.Builder |
s3Config(CfnLocationS3.S3ConfigProperty s3Config)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket.
|
CfnLocationS3.Builder |
s3Config(IResolvable s3Config)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket.
|
CfnLocationS3.Builder |
s3StorageClass(String s3StorageClass)
The Amazon S3 storage class that you want to store your files in when this location is used as a task destination.
|
CfnLocationS3.Builder |
subdirectory(String subdirectory)
A subdirectory in the Amazon S3 bucket.
|
CfnLocationS3.Builder |
tags(List<? extends CfnTag> tags)
The key-value pair that represents the tag that you want to add to the location.
|
@Stability(value=Stable) public static CfnLocationS3.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLocationS3.S3ConfigProperty.Builder.@Stability(value=Stable) public CfnLocationS3.Builder s3BucketArn(String s3BucketArn)
s3BucketArn - The ARN of the Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnLocationS3.Builder s3Config(CfnLocationS3.S3ConfigProperty s3Config)
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .
s3Config - The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnLocationS3.Builder s3Config(IResolvable s3Config)
For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide .
s3Config - The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnLocationS3.Builder s3StorageClass(String s3StorageClass)
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 .
s3StorageClass - The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. This parameter is required.this@Stability(value=Stable) public CfnLocationS3.Builder subdirectory(String subdirectory)
This subdirectory in Amazon S3 is used to read data from the S3 source location or write data to the S3 destination.
subdirectory - A subdirectory in the Amazon S3 bucket. This parameter is required.this@Stability(value=Stable) public CfnLocationS3.Builder tags(List<? extends CfnTag> tags)
The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. This parameter is required.this@Stability(value=Stable) public CfnLocationS3 build()
build in interface software.amazon.jsii.Builder<CfnLocationS3>Copyright © 2022. All rights reserved.