Class: AWSCDK::Bedrock::CfnKnowledgeBase::KendraKnowledgeBaseConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::KendraKnowledgeBaseConfigurationProperty
- Defined in:
- bedrock/cfn_knowledge_base.rb
Overview
Settings for an Amazon Kendra knowledge base.
Instance Attribute Summary collapse
-
#kendra_index_arn ⇒ String
readonly
The ARN of the Amazon Kendra index.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kendra_index_arn:) ⇒ KendraKnowledgeBaseConfigurationProperty
constructor
A new instance of KendraKnowledgeBaseConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(kendra_index_arn:) ⇒ KendraKnowledgeBaseConfigurationProperty
Returns a new instance of KendraKnowledgeBaseConfigurationProperty.
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_arn ⇒ String (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_properties ⇒ Object
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_jsii ⇒ Object
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 |