Class: AWSCDK::Datasync::CfnTask::TransferredProperty

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 transfer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_level: nil) ⇒ TransferredProperty

Returns a new instance of TransferredProperty.

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.



1547
1548
1549
1550
# File 'datasync/cfn_task.rb', line 1547

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.



1556
1557
1558
# File 'datasync/cfn_task.rb', line 1556

def report_level
  @report_level
end

Class Method Details

.jsii_propertiesObject



1558
1559
1560
1561
1562
# File 'datasync/cfn_task.rb', line 1558

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

Instance Method Details

#to_jsiiObject



1564
1565
1566
1567
1568
1569
1570
# File 'datasync/cfn_task.rb', line 1564

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