Class: AWSCDK::QBusiness::CfnRetriever::KendraIndexConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QBusiness::CfnRetriever::KendraIndexConfigurationProperty
- Defined in:
- q_business/cfn_retriever.rb
Overview
Stores an Amazon Kendra index as a retriever.
Instance Attribute Summary collapse
-
#index_id ⇒ String
readonly
The identifier of the Amazon Kendra index.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(index_id:) ⇒ KendraIndexConfigurationProperty
constructor
A new instance of KendraIndexConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(index_id:) ⇒ KendraIndexConfigurationProperty
Returns a new instance of KendraIndexConfigurationProperty.
615 616 617 618 |
# File 'q_business/cfn_retriever.rb', line 615 def initialize(index_id:) @index_id = index_id Jsii::Type.check_type(@index_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "indexId") end |
Instance Attribute Details
#index_id ⇒ String (readonly)
The identifier of the Amazon Kendra index.
624 625 626 |
# File 'q_business/cfn_retriever.rb', line 624 def index_id @index_id end |
Class Method Details
.jsii_properties ⇒ Object
626 627 628 629 630 |
# File 'q_business/cfn_retriever.rb', line 626 def self.jsii_properties { :index_id => "indexId", } end |
Instance Method Details
#to_jsii ⇒ Object
632 633 634 635 636 637 638 |
# File 'q_business/cfn_retriever.rb', line 632 def to_jsii result = {} result.merge!({ "indexId" => @index_id, }) result.compact end |