Interface CfnTask.SourceProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTask.SourceProperty.Jsii$Proxy
- Enclosing class:
CfnTask
@Stability(Stable)
public static interface CfnTask.SourceProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the manifest that you want DataSync to use and where it's hosted.
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.*;
SourceProperty sourceProperty = SourceProperty.builder()
.s3(ManifestConfigSourceS3Property.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.manifestObjectPath("manifestObjectPath")
.manifestObjectVersionId("manifestObjectVersionId")
.s3BucketArn("s3BucketArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.SourcePropertystatic final classAn implementation forCfnTask.SourceProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3
Specifies the S3 bucket where you're hosting the manifest that you want AWS DataSync to use.Returns union: either
IResolvableorCfnTask.ManifestConfigSourceS3Property- See Also:
-
builder
- Returns:
- a
CfnTask.SourceProperty.BuilderofCfnTask.SourceProperty
-