Class: AWSCDK::Datasync::CfnTask::VerifiedProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
datasync/cfn_task.rb

Overview

Specifies the level of reporting for the files, objects, and directories that Datasync attempted to verify at the end of your transfer.

This only applies if you configure your task to verify data during and after the transfer (which Datasync does by default)

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_level: nil) ⇒ VerifiedProperty

Returns a new instance of VerifiedProperty.

Parameters:

  • report_level (String, nil) (defaults to: nil)

    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.



1582
1583
1584
1585
# File 'datasync/cfn_task.rb', line 1582

def initialize(report_level: nil)
  @report_level = report_level
  Jsii::Type.check_type(@report_level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "reportLevel") unless @report_level.nil?
end

Instance Attribute Details

#report_levelString? (readonly)

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.



1591
1592
1593
# File 'datasync/cfn_task.rb', line 1591

def report_level
  @report_level
end

Class Method Details

.jsii_propertiesObject



1593
1594
1595
1596
1597
# File 'datasync/cfn_task.rb', line 1593

def self.jsii_properties
  {
    :report_level => "reportLevel",
  }
end

Instance Method Details

#to_jsiiObject



1599
1600
1601
1602
1603
1604
1605
# File 'datasync/cfn_task.rb', line 1599

def to_jsii
  result = {}
  result.merge!({
    "reportLevel" => @report_level,
  })
  result.compact
end