interface TaskReportConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.DataSync.Mixins.CfnTaskPropsMixin.TaskReportConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsdatasync/mixins#CfnTaskPropsMixin_TaskReportConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.datasync.mixins.CfnTaskPropsMixin.TaskReportConfigProperty |
Python | aws_cdk.mixins_preview.aws_datasync.mixins.CfnTaskPropsMixin.TaskReportConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_datasync » mixins » CfnTaskPropsMixin » TaskReportConfigProperty |
Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.
For more information, see Task reports .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as datasync_mixins } from '@aws-cdk/mixins-preview/aws-datasync';
const taskReportConfigProperty: datasync_mixins.CfnTaskPropsMixin.TaskReportConfigProperty = {
destination: {
s3: {
bucketAccessRoleArn: 'bucketAccessRoleArn',
s3BucketArn: 's3BucketArn',
subdirectory: 'subdirectory',
},
},
objectVersionIds: 'objectVersionIds',
outputType: 'outputType',
overrides: {
deleted: {
reportLevel: 'reportLevel',
},
skipped: {
reportLevel: 'reportLevel',
},
transferred: {
reportLevel: 'reportLevel',
},
verified: {
reportLevel: 'reportLevel',
},
},
reportLevel: 'reportLevel',
};
Properties
| Name | Type | Description |
|---|---|---|
| destination? | IResolvable | Destination | Specifies the Amazon S3 bucket where DataSync uploads your task report. |
| object | string | Specifies whether your task report includes the new version of each object transferred into an S3 bucket. |
| output | string | Specifies the type of task report that you want:. |
| overrides? | IResolvable | Overrides | Customizes the reporting level for aspects of your task report. |
| report | string | Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't. |
destination?
Type:
IResolvable | Destination
(optional)
Specifies the Amazon S3 bucket where DataSync uploads your task report.
For more information, see Task reports .
objectVersionIds?
Type:
string
(optional)
Specifies whether your task report includes the new version of each object transferred into an S3 bucket.
This only applies if you enable versioning on your bucket . Keep in mind that setting this to INCLUDE can increase the duration of your task execution.
outputType?
Type:
string
(optional)
Specifies the type of task report that you want:.
SUMMARY_ONLY: Provides necessary details about your task, including the number of files, objects, and directories transferred and transfer duration.STANDARD: Provides complete details about your task, including a full list of files, objects, and directories that were transferred, skipped, verified, and more.
overrides?
Type:
IResolvable | Overrides
(optional)
Customizes the reporting level for aspects of your task report.
For example, your report might generally only include errors, but you could specify that you want a list of successes and errors just for the files that DataSync attempted to delete in your destination location.
reportLevel?
Type:
string
(optional)
Specifies whether you want your task report to include only what went wrong with your transfer or a list of what succeeded and didn't.
ERRORS_ONLY: A report shows what DataSync was unable to transfer, skip, verify, and delete.SUCCESSES_AND_ERRORS: A report shows what DataSync was able and unable to transfer, skip, verify, and delete.

.NET
Go
Java
Python
TypeScript