Class: AWSCDK::BCMDataExports::CfnExport::DataQueryProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BCMDataExports::CfnExport::DataQueryProperty
- Defined in:
- bcm_data_exports/cfn_export.rb
Overview
The SQL query of column selections and row filters from the data table you want.
Instance Attribute Summary collapse
-
#query_statement ⇒ String
readonly
The query statement.
-
#table_configurations ⇒ AWSCDK::IResolvable, ...
readonly
The table configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(query_statement:, table_configurations: nil) ⇒ DataQueryProperty
constructor
A new instance of DataQueryProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(query_statement:, table_configurations: nil) ⇒ DataQueryProperty
Returns a new instance of DataQueryProperty.
544 545 546 547 548 549 |
# File 'bcm_data_exports/cfn_export.rb', line 544 def initialize(query_statement:, table_configurations: nil) @query_statement = query_statement Jsii::Type.check_type(@query_statement, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "queryStatement") @table_configurations = table_configurations Jsii::Type.check_type(@table_configurations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoibWFwIn19XX19LCJraW5kIjoibWFwIn19XX19")), "tableConfigurations") unless @table_configurations.nil? end |
Instance Attribute Details
#query_statement ⇒ String (readonly)
The query statement.
555 556 557 |
# File 'bcm_data_exports/cfn_export.rb', line 555 def query_statement @query_statement end |
#table_configurations ⇒ AWSCDK::IResolvable, ... (readonly)
The table configuration.
560 561 562 |
# File 'bcm_data_exports/cfn_export.rb', line 560 def table_configurations @table_configurations end |
Class Method Details
.jsii_properties ⇒ Object
562 563 564 565 566 567 |
# File 'bcm_data_exports/cfn_export.rb', line 562 def self.jsii_properties { :query_statement => "queryStatement", :table_configurations => "tableConfigurations", } end |
Instance Method Details
#to_jsii ⇒ Object
569 570 571 572 573 574 575 576 |
# File 'bcm_data_exports/cfn_export.rb', line 569 def to_jsii result = {} result.merge!({ "queryStatement" => @query_statement, "tableConfigurations" => @table_configurations, }) result.compact end |