Class: AWSCDK::DataBrew::CfnJob::DatabaseTableOutputOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataBrew::CfnJob::DatabaseTableOutputOptionsProperty
- Defined in:
- data_brew/cfn_job.rb
Overview
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
Instance Attribute Summary collapse
-
#table_name ⇒ String
readonly
A prefix for the name of a table DataBrew will create in the database.
-
#temp_directory ⇒ AWSCDK::IResolvable, ...
readonly
Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_name:, temp_directory: nil) ⇒ DatabaseTableOutputOptionsProperty
constructor
A new instance of DatabaseTableOutputOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(table_name:, temp_directory: nil) ⇒ DatabaseTableOutputOptionsProperty
Returns a new instance of DatabaseTableOutputOptionsProperty.
1056 1057 1058 1059 1060 1061 |
# File 'data_brew/cfn_job.rb', line 1056 def initialize(table_name:, temp_directory: nil) @table_name = table_name Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName") @temp_directory = temp_directory.is_a?(Hash) ? ::AWSCDK::DataBrew::CfnJob::S3LocationProperty.new(**temp_directory.transform_keys(&:to_sym)) : temp_directory Jsii::Type.check_type(@temp_directory, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhYnJldy5DZm5Kb2IuUzNMb2NhdGlvblByb3BlcnR5In1dfX0=")), "tempDirectory") unless @temp_directory.nil? end |
Instance Attribute Details
#table_name ⇒ String (readonly)
A prefix for the name of a table DataBrew will create in the database.
1067 1068 1069 |
# File 'data_brew/cfn_job.rb', line 1067 def table_name @table_name end |
#temp_directory ⇒ AWSCDK::IResolvable, ... (readonly)
Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
1072 1073 1074 |
# File 'data_brew/cfn_job.rb', line 1072 def temp_directory @temp_directory end |
Class Method Details
.jsii_properties ⇒ Object
1074 1075 1076 1077 1078 1079 |
# File 'data_brew/cfn_job.rb', line 1074 def self.jsii_properties { :table_name => "tableName", :temp_directory => "tempDirectory", } end |
Instance Method Details
#to_jsii ⇒ Object
1081 1082 1083 1084 1085 1086 1087 1088 |
# File 'data_brew/cfn_job.rb', line 1081 def to_jsii result = {} result.merge!({ "tableName" => @table_name, "tempDirectory" => @temp_directory, }) result.compact end |