Show / Hide Table of Contents

Class CfnTask.TaskReportConfigProperty

Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.

Inheritance
object
CfnTask.TaskReportConfigProperty
Implements
CfnTask.ITaskReportConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.DataSync
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTask.TaskReportConfigProperty : CfnTask.ITaskReportConfigProperty
Syntax (vb)
Public Class CfnTask.TaskReportConfigProperty Implements CfnTask.ITaskReportConfigProperty
Remarks

For more information, see Task reports .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html

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 taskReportConfigProperty = new TaskReportConfigProperty {
                 Destination = new DestinationProperty {
                     S3 = new S3Property {
                         BucketAccessRoleArn = "bucketAccessRoleArn",
                         S3BucketArn = "s3BucketArn",
                         Subdirectory = "subdirectory"
                     }
                 },
                 OutputType = "outputType",

                 // the properties below are optional
                 ObjectVersionIds = "objectVersionIds",
                 Overrides = new OverridesProperty {
                     Deleted = new DeletedProperty {
                         ReportLevel = "reportLevel"
                     },
                     Skipped = new SkippedProperty {
                         ReportLevel = "reportLevel"
                     },
                     Transferred = new TransferredProperty {
                         ReportLevel = "reportLevel"
                     },
                     Verified = new VerifiedProperty {
                         ReportLevel = "reportLevel"
                     }
                 },
                 ReportLevel = "reportLevel"
             };

Synopsis

Constructors

TaskReportConfigProperty()

Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.

Properties

Destination

Specifies the Amazon S3 bucket where DataSync uploads your task report.

ObjectVersionIds

Specifies whether your task report includes the new version of each object transferred into an S3 bucket.

OutputType

Specifies the type of task report that you want:.

Overrides

Customizes the reporting level for aspects of your task report.

ReportLevel

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.

Constructors

TaskReportConfigProperty()

Specifies how you want to configure a task report, which provides detailed information about for your AWS DataSync transfer.

public TaskReportConfigProperty()
Remarks

For more information, see Task reports .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html

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 taskReportConfigProperty = new TaskReportConfigProperty {
                 Destination = new DestinationProperty {
                     S3 = new S3Property {
                         BucketAccessRoleArn = "bucketAccessRoleArn",
                         S3BucketArn = "s3BucketArn",
                         Subdirectory = "subdirectory"
                     }
                 },
                 OutputType = "outputType",

                 // the properties below are optional
                 ObjectVersionIds = "objectVersionIds",
                 Overrides = new OverridesProperty {
                     Deleted = new DeletedProperty {
                         ReportLevel = "reportLevel"
                     },
                     Skipped = new SkippedProperty {
                         ReportLevel = "reportLevel"
                     },
                     Transferred = new TransferredProperty {
                         ReportLevel = "reportLevel"
                     },
                     Verified = new VerifiedProperty {
                         ReportLevel = "reportLevel"
                     }
                 },
                 ReportLevel = "reportLevel"
             };

Properties

Destination

Specifies the Amazon S3 bucket where DataSync uploads your task report.

public object Destination { get; set; }
Property Value

object

Remarks

For more information, see Task reports .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-destination

Type union: either IResolvable or CfnTask.IDestinationProperty

ObjectVersionIds

Specifies whether your task report includes the new version of each object transferred into an S3 bucket.

public string? ObjectVersionIds { get; set; }
Property Value

string

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-objectversionids

OutputType

Specifies the type of task report that you want:.

public string OutputType { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-outputtype

    Overrides

    Customizes the reporting level for aspects of your task report.

    public object? Overrides { get; set; }
    Property Value

    object

    Remarks

    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.

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-overrides

    Type union: either IResolvable or CfnTask.IOverridesProperty

    ReportLevel

    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.

    public string? ReportLevel { get; set; }
    Property Value

    string

    Remarks

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datasync-task-taskreportconfig.html#cfn-datasync-task-taskreportconfig-reportlevel

      Implements

      CfnTask.ITaskReportConfigProperty
      Back to top Generated by DocFX