Interface CfnTaskMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.datasync.*;
CfnTaskMixinProps cfnTaskMixinProps = CfnTaskMixinProps.builder()
.cloudWatchLogGroupArn("cloudWatchLogGroupArn")
.destinationLocationArn("destinationLocationArn")
.excludes(List.of(FilterRuleProperty.builder()
.filterType("filterType")
.value("value")
.build()))
.includes(List.of(FilterRuleProperty.builder()
.filterType("filterType")
.value("value")
.build()))
.manifestConfig(ManifestConfigProperty.builder()
.action("action")
.format("format")
.source(SourceProperty.builder()
.s3(ManifestConfigSourceS3Property.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.manifestObjectPath("manifestObjectPath")
.manifestObjectVersionId("manifestObjectVersionId")
.s3BucketArn("s3BucketArn")
.build())
.build())
.build())
.name("name")
.options(OptionsProperty.builder()
.atime("atime")
.bytesPerSecond(123)
.gid("gid")
.logLevel("logLevel")
.mtime("mtime")
.objectTags("objectTags")
.overwriteMode("overwriteMode")
.posixPermissions("posixPermissions")
.preserveDeletedFiles("preserveDeletedFiles")
.preserveDevices("preserveDevices")
.securityDescriptorCopyFlags("securityDescriptorCopyFlags")
.taskQueueing("taskQueueing")
.transferMode("transferMode")
.uid("uid")
.verifyMode("verifyMode")
.build())
.schedule(TaskScheduleProperty.builder()
.scheduleExpression("scheduleExpression")
.status("status")
.build())
.sourceLocationArn("sourceLocationArn")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskMode("taskMode")
.taskReportConfig(TaskReportConfigProperty.builder()
.destination(DestinationProperty.builder()
.s3(S3Property.builder()
.bucketAccessRoleArn("bucketAccessRoleArn")
.s3BucketArn("s3BucketArn")
.subdirectory("subdirectory")
.build())
.build())
.objectVersionIds("objectVersionIds")
.outputType("outputType")
.overrides(OverridesProperty.builder()
.deleted(DeletedProperty.builder()
.reportLevel("reportLevel")
.build())
.skipped(SkippedProperty.builder()
.reportLevel("reportLevel")
.build())
.transferred(TransferredProperty.builder()
.reportLevel("reportLevel")
.build())
.verified(VerifiedProperty.builder()
.reportLevel("reportLevel")
.build())
.build())
.reportLevel("reportLevel")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskMixinPropsstatic final classAn implementation forCfnTaskMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTaskMixinProps.Builderbuilder()default ObjectSpecifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.default ObjectThe Amazon Resource Name (ARN) of an AWS storage resource's location.default ObjectSpecifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.default ObjectSpecifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.default ObjectThe configuration of the manifest that lists the files or objects that you want DataSync to transfer.default StringgetName()Specifies the name of your task.default ObjectSpecifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.default ObjectSpecifies a schedule for when you want your task to run.default ObjectSpecifies the ARN of your transfer's source location.getTags()Specifies the tags that you want to apply to your task.default StringThe task mode that you're using.default ObjectThe configuration of your task report, which provides detailed information about your DataSync transfer.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCloudWatchLogGroupArn
Specifies the Amazon Resource Name (ARN) of an Amazon CloudWatch log group for monitoring your task.For Enhanced mode tasks, you don't need to specify anything. DataSync automatically sends logs to a CloudWatch log group named
/aws/datasync.For more information, see Monitoring data transfers with CloudWatch Logs .
Returns union: either
StringorILogGroupRef- See Also:
-
getDestinationLocationArn
The Amazon Resource Name (ARN) of an AWS storage resource's location.Returns union: either
StringorILocationEFSReforILocationS3Ref- See Also:
-
getExcludes
Specifies exclude filters that define the files, objects, and folders in your source location that you don't want DataSync to transfer.For more information and examples, see Specifying what DataSync transfers by using filters .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskPropsMixin.FilterRuleProperty>- See Also:
-
getIncludes
Specifies include filters that define the files, objects, and folders in your source location that you want DataSync to transfer.For more information and examples, see Specifying what DataSync transfers by using filters .
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTaskPropsMixin.FilterRuleProperty>- See Also:
-
getManifestConfig
The configuration of the manifest that lists the files or objects that you want DataSync to transfer.For more information, see Specifying what DataSync transfers by using a manifest .
Returns union: either
IResolvableorCfnTaskPropsMixin.ManifestConfigProperty- See Also:
-
getName
Specifies the name of your task.- See Also:
-
getOptions
Specifies your task's settings, such as preserving file metadata, verifying data integrity, among other options.Returns union: either
IResolvableorCfnTaskPropsMixin.OptionsProperty- See Also:
-
getSchedule
Specifies a schedule for when you want your task to run.For more information, see Scheduling your task .
Returns union: either
IResolvableorCfnTaskPropsMixin.TaskScheduleProperty- See Also:
-
getSourceLocationArn
Specifies the ARN of your transfer's source location.Returns union: either
StringorILocationNFSReforILocationS3Ref- See Also:
-
getTags
Specifies the tags that you want to apply to your task.Tags are key-value pairs that help you manage, filter, and search for your DataSync resources.
- See Also:
-
getTaskMode
The task mode that you're using.For more information, see Choosing a task mode for your data transfer .
- See Also:
-
getTaskReportConfig
The configuration of your task report, which provides detailed information about your DataSync transfer.For more information, see Monitoring your DataSync transfers with task reports .
Returns union: either
IResolvableorCfnTaskPropsMixin.TaskReportConfigProperty- See Also:
-
builder
- Returns:
- a
CfnTaskMixinProps.BuilderofCfnTaskMixinProps
-