Interface CfnTask.S3Property
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTask.S3Property.Jsii$Proxy
- Enclosing class:
CfnTask
@Stability(Stable)
public static interface CfnTask.S3Property
extends software.amazon.jsii.JsiiSerializable
Specifies the Amazon S3 bucket where DataSync uploads your task report .
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.*;
S3Property s3Property = S3Property.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.s3BucketArn("s3BucketArn")
.subdirectory("subdirectory")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.S3Propertystatic final classAn implementation forCfnTask.S3Property -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTask.S3Property.Builderbuilder()default StringSpecifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket.default StringSpecifies the ARN of the S3 bucket where DataSync uploads your report.default StringSpecifies a bucket prefix for your report.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBucketAccessRoleArn
Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket.For more information, see Allowing DataSync to upload a task report to an Amazon S3 bucket .
- See Also:
-
getS3BucketArn
Specifies the ARN of the S3 bucket where DataSync uploads your report.- See Also:
-
getSubdirectory
Specifies a bucket prefix for your report.- See Also:
-
builder
- Returns:
- a
CfnTask.S3Property.BuilderofCfnTask.S3Property
-