Class: AWSCDK::DataBrew::CfnJob::CsvOutputOptionsProperty

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

Overview

Represents a set of options that define how DataBrew will write a comma-separated value (CSV) file.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(delimiter: nil) ⇒ CsvOutputOptionsProperty

Returns a new instance of CsvOutputOptionsProperty.

Parameters:

  • delimiter (String, nil) (defaults to: nil)

    A single character that specifies the delimiter used to create CSV job output.



882
883
884
885
# File 'data_brew/cfn_job.rb', line 882

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

Instance Attribute Details

#delimiterString? (readonly)

A single character that specifies the delimiter used to create CSV job output.



891
892
893
# File 'data_brew/cfn_job.rb', line 891

def delimiter
  @delimiter
end

Class Method Details

.jsii_propertiesObject



893
894
895
896
897
# File 'data_brew/cfn_job.rb', line 893

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

Instance Method Details

#to_jsiiObject



899
900
901
902
903
904
905
# File 'data_brew/cfn_job.rb', line 899

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