Class: AWSCDK::Bedrock::CfnKnowledgeBase::KendraKnowledgeBaseConfigurationProperty

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

Overview

Settings for an Amazon Kendra knowledge base.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kendra_index_arn:) ⇒ KendraKnowledgeBaseConfigurationProperty

Returns a new instance of KendraKnowledgeBaseConfigurationProperty.

Parameters:

  • kendra_index_arn (String)

    The ARN of the Amazon Kendra index.



875
876
877
878
# File 'bedrock/cfn_knowledge_base.rb', line 875

def initialize(kendra_index_arn:)
  @kendra_index_arn = kendra_index_arn
  Jsii::Type.check_type(@kendra_index_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "kendraIndexArn")
end

Instance Attribute Details

#kendra_index_arnString (readonly)

The ARN of the Amazon Kendra index.



884
885
886
# File 'bedrock/cfn_knowledge_base.rb', line 884

def kendra_index_arn
  @kendra_index_arn
end

Class Method Details

.jsii_propertiesObject



886
887
888
889
890
# File 'bedrock/cfn_knowledge_base.rb', line 886

def self.jsii_properties
  {
    :kendra_index_arn => "kendraIndexArn",
  }
end

Instance Method Details

#to_jsiiObject



892
893
894
895
896
897
898
# File 'bedrock/cfn_knowledge_base.rb', line 892

def to_jsii
  result = {}
  result.merge!({
    "kendraIndexArn" => @kendra_index_arn,
  })
  result.compact
end