Interface CfnLocationS3MixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLocationS3MixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.datasync.*;
CfnLocationS3MixinProps cfnLocationS3MixinProps = CfnLocationS3MixinProps.builder()
.s3BucketArn("s3BucketArn")
.s3Config(S3ConfigProperty.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.build())
.s3StorageClass("s3StorageClass")
.subdirectory("subdirectory")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLocationS3MixinPropsstatic final classAn implementation forCfnLocationS3MixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe ARN of the Amazon S3 bucket.default ObjectThe Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket.default StringThe Amazon S3 storage class that you want to store your files in when this location is used as a task destination.default StringSpecifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).getTags()Specifies labels that help you categorize, filter, and search for your AWS resources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3BucketArn
The ARN of the Amazon S3 bucket.Returns union: either
StringorIBucketRef- See Also:
-
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 .
Returns union: either
IResolvableorCfnLocationS3PropsMixin.S3ConfigProperty- See Also:
-
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 .
Default: - "STANDARD"
- See Also:
-
getSubdirectory
Specifies a prefix in the S3 bucket that DataSync reads from or writes to (depending on whether the bucket is a source or destination location).DataSync can't transfer objects with a prefix that begins with a slash (
/) or includes//,/./, or/../patterns. For example:/photosphotos//2006/Januaryphotos/./2006/Februaryphotos/../2006/March
- See Also:
-
getTags
Specifies labels that help you categorize, filter, and search for your AWS resources.We recommend creating at least a name tag for your transfer location.
- See Also:
-
builder
- Returns:
- a
CfnLocationS3MixinProps.BuilderofCfnLocationS3MixinProps
-