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 class
A builder forCfnTask.S3Property
static final class
An implementation forCfnTask.S3Property
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTask.S3Property.Builder
builder()
default String
Specifies the Amazon Resource Name (ARN) of the IAM policy that allows DataSync to upload a task report to your S3 bucket.default String
Specifies the ARN of the S3 bucket where DataSync uploads your report.default String
Specifies 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.Builder
ofCfnTask.S3Property
-