Class: AWSCDK::QBusiness::CfnRetriever::NativeIndexConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::QBusiness::CfnRetriever::NativeIndexConfigurationProperty
- Defined in:
- q_business/cfn_retriever.rb
Overview
Configuration information for an Amazon Q Business index.
Instance Attribute Summary collapse
-
#index_id ⇒ String
readonly
The identifier for the Amazon Q Business index.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(index_id:) ⇒ NativeIndexConfigurationProperty
constructor
A new instance of NativeIndexConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(index_id:) ⇒ NativeIndexConfigurationProperty
Returns a new instance of NativeIndexConfigurationProperty.
648 649 650 651 |
# File 'q_business/cfn_retriever.rb', line 648 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 for the Amazon Q Business index.
657 658 659 |
# File 'q_business/cfn_retriever.rb', line 657 def index_id @index_id end |
Class Method Details
.jsii_properties ⇒ Object
659 660 661 662 663 |
# File 'q_business/cfn_retriever.rb', line 659 def self.jsii_properties { :index_id => "indexId", } end |
Instance Method Details
#to_jsii ⇒ Object
665 666 667 668 669 670 671 |
# File 'q_business/cfn_retriever.rb', line 665 def to_jsii result = {} result.merge!({ "indexId" => @index_id, }) result.compact end |