Class: AWSCDK::Datasync::CfnTask::SkippedProperty

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 skip during your transfer.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(report_level: nil) ⇒ SkippedProperty

Returns a new instance of SkippedProperty.

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.



1337
1338
1339
1340
# File 'datasync/cfn_task.rb', line 1337

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.



1346
1347
1348
# File 'datasync/cfn_task.rb', line 1346

def report_level
  @report_level
end

Class Method Details

.jsii_propertiesObject



1348
1349
1350
1351
1352
# File 'datasync/cfn_task.rb', line 1348

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

Instance Method Details

#to_jsiiObject



1354
1355
1356
1357
1358
1359
1360
# File 'datasync/cfn_task.rb', line 1354

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