Class: AWSCDK::DataBrew::CfnDataset::JsonOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnDataset::JsonOptionsProperty
- 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
-
#multi_line ⇒ Boolean, ...
readonly
A value that specifies whether JSON input contains embedded new line characters.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(multi_line: nil) ⇒ JsonOptionsProperty
constructor
A new instance of JsonOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(multi_line: nil) ⇒ JsonOptionsProperty
Returns a new instance of JsonOptionsProperty.
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_line ⇒ Boolean, ... (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_properties ⇒ Object
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_jsii ⇒ Object
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 |