Class: AWSCDK::Datasync::CfnTask::TransferredProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnTask::TransferredProperty
- 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
-
#report_level ⇒ String?
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.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(report_level: nil) ⇒ TransferredProperty
constructor
A new instance of TransferredProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(report_level: nil) ⇒ TransferredProperty
Returns a new instance of TransferredProperty.
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_level ⇒ String? (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_properties ⇒ Object
1558 1559 1560 1561 1562 |
# File 'datasync/cfn_task.rb', line 1558 def self.jsii_properties { :report_level => "reportLevel", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |