Class: AWSCDK::DataBrew::CfnDataset::JsonOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
data_brew/cfn_dataset.rb

Overview

Represents the JSON-specific options that define how input is to be interpreted by AWS Glue DataBrew .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(multi_line: nil) ⇒ JsonOptionsProperty

Returns a new instance of JsonOptionsProperty.

Parameters:

  • multi_line (Boolean, AWSCDK::IResolvable, nil) (defaults to: nil)

    A value that specifies whether JSON input contains embedded new line characters.



1208
1209
1210
1211
# File 'data_brew/cfn_dataset.rb', line 1208

def initialize(multi_line: nil)
  @multi_line = multi_line
  Jsii::Type.check_type(@multi_line, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "multiLine") unless @multi_line.nil?
end

Instance Attribute Details

#multi_lineBoolean, ... (readonly)

A value that specifies whether JSON input contains embedded new line characters.



1217
1218
1219
# File 'data_brew/cfn_dataset.rb', line 1217

def multi_line
  @multi_line
end

Class Method Details

.jsii_propertiesObject



1219
1220
1221
1222
1223
# File 'data_brew/cfn_dataset.rb', line 1219

def self.jsii_properties
  {
    :multi_line => "multiLine",
  }
end

Instance Method Details

#to_jsiiObject



1225
1226
1227
1228
1229
1230
1231
# File 'data_brew/cfn_dataset.rb', line 1225

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