Interface CfnTask.ManifestConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTask.ManifestConfigProperty.Jsii$Proxy
- Enclosing class:
CfnTask
@Stability(Stable)
public static interface CfnTask.ManifestConfigProperty
extends software.amazon.jsii.JsiiSerializable
Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.
For more information and configuration examples, see Specifying what DataSync transfers by using a manifest .
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.*;
ManifestConfigProperty manifestConfigProperty = ManifestConfigProperty.builder()
.source(SourceProperty.builder()
.s3(ManifestConfigSourceS3Property.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.manifestObjectPath("manifestObjectPath")
.manifestObjectVersionId("manifestObjectVersionId")
.s3BucketArn("s3BucketArn")
.build())
.build())
// the properties below are optional
.action("action")
.format("format")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTask.ManifestConfigPropertystatic final classAn implementation forCfnTask.ManifestConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSource
Specifies the manifest that you want DataSync to use and where it's hosted.You must specify this parameter if you're configuring a new manifest on or after February 7, 2024.
If you don't, you'll get a 400 status code and
ValidationExceptionerror stating that you're missing the IAM role for DataSync to access the S3 bucket where you're hosting your manifest. For more information, see Providing DataSync access to your manifest .Returns union: either
IResolvableorCfnTask.SourceProperty- See Also:
-
getAction
Specifies what DataSync uses the manifest for.- See Also:
-
getFormat
Specifies the file format of your manifest.For more information, see Creating a manifest .
- See Also:
-
builder
-