Class: AWSCDK::Datasync::CfnTask::DeletedProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Datasync::CfnTask::DeletedProperty
- Defined in:
- datasync/cfn_task.rb
Overview
Specifies the level of reporting for the files, objects, and directories that Datasync attempted to delete in your destination location.
This only applies if you configure your task to delete data in the destination that isn't in the source.
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) ⇒ DeletedProperty
constructor
A new instance of DeletedProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(report_level: nil) ⇒ DeletedProperty
Returns a new instance of DeletedProperty.
692 693 694 695 |
# File 'datasync/cfn_task.rb', line 692 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.
701 702 703 |
# File 'datasync/cfn_task.rb', line 701 def report_level @report_level end |
Class Method Details
.jsii_properties ⇒ Object
703 704 705 706 707 |
# File 'datasync/cfn_task.rb', line 703 def self.jsii_properties { :report_level => "reportLevel", } end |
Instance Method Details
#to_jsii ⇒ Object
709 710 711 712 713 714 715 |
# File 'datasync/cfn_task.rb', line 709 def to_jsii result = {} result.merge!({ "reportLevel" => @report_level, }) result.compact end |