Class: AWSCDK::Bedrock::CfnKnowledgeBase::RedshiftQueryEngineRedshiftStorageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::RedshiftQueryEngineRedshiftStorageConfigurationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
Contains configurations for storage in Amazon Redshift.
Instance Attribute Summary collapse
-
#database_name ⇒ String
readonly
The name of the Amazon Redshift database.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(database_name:) ⇒ RedshiftQueryEngineRedshiftStorageConfigurationProperty
constructor
A new instance of RedshiftQueryEngineRedshiftStorageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(database_name:) ⇒ RedshiftQueryEngineRedshiftStorageConfigurationProperty
Returns a new instance of RedshiftQueryEngineRedshiftStorageConfigurationProperty.
2268 2269 2270 2271 |
# File 'bedrock/cfn_knowledge_base.rb', line 2268 def initialize(database_name:) @database_name = database_name Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName") end |
Instance Attribute Details
#database_name ⇒ String (readonly)
The name of the Amazon Redshift database.
2277 2278 2279 |
# File 'bedrock/cfn_knowledge_base.rb', line 2277 def database_name @database_name end |
Class Method Details
.jsii_properties ⇒ Object
2279 2280 2281 2282 2283 |
# File 'bedrock/cfn_knowledge_base.rb', line 2279 def self.jsii_properties { :database_name => "databaseName", } end |
Instance Method Details
#to_jsii ⇒ Object
2285 2286 2287 2288 2289 2290 2291 |
# File 'bedrock/cfn_knowledge_base.rb', line 2285 def to_jsii result = {} result.merge!({ "databaseName" => @database_name, }) result.compact end |