Class: AWSCDK::Datasync::CfnTask::DeletedProperty

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_level: nil) ⇒ DeletedProperty

Returns a new instance of DeletedProperty.

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.



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



701
702
703
# File 'datasync/cfn_task.rb', line 701

def report_level
  @report_level
end

Class Method Details

.jsii_propertiesObject



703
704
705
706
707
# File 'datasync/cfn_task.rb', line 703

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

Instance Method Details

#to_jsiiObject



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