Class: AWSCDK::Bedrock::CfnKnowledgeBase::RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
Contains configurations for storage in AWS Glue Data Catalog.
Instance Attribute Summary collapse
-
#table_names ⇒ Array<String>
readonly
A list of names of the tables to use.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_names:) ⇒ RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty
constructor
A new instance of RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(table_names:) ⇒ RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty
Returns a new instance of RedshiftQueryEngineAWSDataCatalogStorageConfigurationProperty.
2180 2181 2182 2183 |
# File 'bedrock/cfn_knowledge_base.rb', line 2180 def initialize(table_names:) @table_names = table_names Jsii::Type.check_type(@table_names, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tableNames") end |
Instance Attribute Details
#table_names ⇒ Array<String> (readonly)
A list of names of the tables to use.
2189 2190 2191 |
# File 'bedrock/cfn_knowledge_base.rb', line 2189 def table_names @table_names end |
Class Method Details
.jsii_properties ⇒ Object
2191 2192 2193 2194 2195 |
# File 'bedrock/cfn_knowledge_base.rb', line 2191 def self.jsii_properties { :table_names => "tableNames", } end |
Instance Method Details
#to_jsii ⇒ Object
2197 2198 2199 2200 2201 2202 2203 |
# File 'bedrock/cfn_knowledge_base.rb', line 2197 def to_jsii result = {} result.merge!({ "tableNames" => @table_names, }) result.compact end |