Class: AWSCDK::DataBrew::CfnJob::OutputFormatOptionsProperty

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

Overview

Represents a set of options that define the structure of comma-separated (CSV) job output.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(csv: nil) ⇒ OutputFormatOptionsProperty

Returns a new instance of OutputFormatOptionsProperty.

Parameters:



1221
1222
1223
1224
# File 'data_brew/cfn_job.rb', line 1221

def initialize(csv: nil)
  @csv = csv.is_a?(Hash) ? ::AWSCDK::DataBrew::CfnJob::CsvOutputOptionsProperty.new(**csv.transform_keys(&:to_sym)) : csv
  Jsii::Type.check_type(@csv, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhYnJldy5DZm5Kb2IuQ3N2T3V0cHV0T3B0aW9uc1Byb3BlcnR5In1dfX0=")), "csv") unless @csv.nil?
end

Instance Attribute Details

#csvAWSCDK::IResolvable, ... (readonly)

Represents a set of options that define the structure of comma-separated value (CSV) job output.



1230
1231
1232
# File 'data_brew/cfn_job.rb', line 1230

def csv
  @csv
end

Class Method Details

.jsii_propertiesObject



1232
1233
1234
1235
1236
# File 'data_brew/cfn_job.rb', line 1232

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

Instance Method Details

#to_jsiiObject



1238
1239
1240
1241
1242
1243
1244
# File 'data_brew/cfn_job.rb', line 1238

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