Class: AWSCDK::QBusiness::CfnRetriever::NativeIndexConfigurationProperty

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

Overview

Configuration information for an Amazon Q Business index.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index_id:) ⇒ NativeIndexConfigurationProperty

Returns a new instance of NativeIndexConfigurationProperty.

Parameters:

  • index_id (String)

    The identifier for the Amazon Q Business index.



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



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_jsiiObject



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