Class CfnTask.ManifestConfigProperty
Configures a manifest, which is a list of files or objects that you want AWS DataSync to transfer.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ManifestConfigProperty : Object, CfnTask.IManifestConfigProperty
Syntax (vb)
Public Class ManifestConfigProperty
Inherits Object
Implements 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
Constructors
ManifestConfigProperty() |
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. |
Constructors
ManifestConfigProperty()
public ManifestConfigProperty()
Properties
Action
Specifies what DataSync uses the manifest for.
public string Action { get; set; }
Property Value
System.String
Remarks
Format
Specifies the file format of your manifest.
public string Format { get; set; }
Property Value
System.String
Remarks
Source
Specifies the manifest that you want DataSync to use and where it's hosted.
public object Source { get; set; }
Property Value
System.Object
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 .