Class: AWSCDK::DataBrew::CfnJob::S3TableOutputOptionsProperty

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

Overview

Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(location:) ⇒ S3TableOutputOptionsProperty

Returns a new instance of S3TableOutputOptionsProperty.

Parameters:



1567
1568
1569
1570
# File 'data_brew/cfn_job.rb', line 1567

def initialize(location:)
  @location = location.is_a?(Hash) ? ::AWSCDK::DataBrew::CfnJob::S3LocationProperty.new(**location.transform_keys(&:to_sym)) : location
  Jsii::Type.check_type(@location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhYnJldy5DZm5Kb2IuUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "location")
end

Instance Attribute Details

#locationAWSCDK::IResolvable, AWSCDK::DataBrew::CfnJob::S3LocationProperty (readonly)

Represents an Amazon S3 location (bucket name and object key) where DataBrew can write output from a job.



1576
1577
1578
# File 'data_brew/cfn_job.rb', line 1576

def location
  @location
end

Class Method Details

.jsii_propertiesObject



1578
1579
1580
1581
1582
# File 'data_brew/cfn_job.rb', line 1578

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

Instance Method Details

#to_jsiiObject



1584
1585
1586
1587
1588
1589
1590
# File 'data_brew/cfn_job.rb', line 1584

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