Interface CfnTask.IManifestConfigProperty
Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnTask.IManifestConfigProperty
Syntax (vb)
Public Interface CfnTask.IManifestConfigProperty
Remarks
For more information and configuration examples, see Specifying what DataSync transfers by using a manifest .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataSync;
var manifestConfigProperty = new ManifestConfigProperty {
Source = new SourceProperty {
S3 = new ManifestConfigSourceS3Property {
BucketAccessRoleArn = "bucketAccessRoleArn",
ManifestObjectPath = "manifestObjectPath",
ManifestObjectVersionId = "manifestObjectVersionId",
S3BucketArn = "s3BucketArn"
}
},
// the properties below are optional
Action = "action",
Format = "format"
};
Synopsis
Properties
| Action | Specifies what DataSync uses the manifest for. |
| Format | Specifies the file format of your manifest. |
| Source | Specifies the manifest that you want DataSync to use and where it's hosted. |
Properties
Action
Specifies what DataSync uses the manifest for.
string? Action { get; }
Property Value
Remarks
Format
Specifies the file format of your manifest.
string? Format { get; }
Property Value
Remarks
Source
Specifies the manifest that you want DataSync to use and where it's hosted.
object Source { get; }
Property Value
Remarks
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 ValidationException error 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 .
Type union: either IResolvable or CfnTask.ISourceProperty