Class: AWSCDK::Bedrock::CfnKnowledgeBase::RedshiftQueryEngineRedshiftStorageConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_knowledge_base.rb

Overview

Contains configurations for storage in Amazon Redshift.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database_name:) ⇒ RedshiftQueryEngineRedshiftStorageConfigurationProperty

Returns a new instance of RedshiftQueryEngineRedshiftStorageConfigurationProperty.

Parameters:

  • database_name (String)

    The name of the Amazon Redshift database.



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_nameString (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_propertiesObject



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_jsiiObject



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