Class: AWSCDK::QBusiness::CfnRetriever::KendraIndexConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
q_business/cfn_retriever.rb

Overview

Stores an Amazon Kendra index as a retriever.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index_id:) ⇒ KendraIndexConfigurationProperty

Returns a new instance of KendraIndexConfigurationProperty.

Parameters:

  • index_id (String)

    The identifier of the Amazon Kendra index.



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



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_jsiiObject



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