Class: AWSCDK::Interfaces::AWSKendra::FaqReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSKendra::FaqReference
- Defined in:
- interfaces/aws_kendra/faq_reference.rb
Overview
A reference to a Faq resource.
Instance Attribute Summary collapse
-
#faq_arn ⇒ String
readonly
The ARN of the Faq resource.
-
#faq_id ⇒ String
readonly
The Id of the Faq resource.
-
#index_id ⇒ String
readonly
The IndexId of the Faq resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(faq_arn:, faq_id:, index_id:) ⇒ FaqReference
constructor
A new instance of FaqReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(faq_arn:, faq_id:, index_id:) ⇒ FaqReference
Returns a new instance of FaqReference.
10 11 12 13 14 15 16 17 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 10 def initialize(faq_arn:, faq_id:, index_id:) @faq_arn = faq_arn Jsii::Type.check_type(@faq_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "faqArn") @faq_id = faq_id Jsii::Type.check_type(@faq_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "faqId") @index_id = index_id Jsii::Type.check_type(@index_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "indexId") end |
Instance Attribute Details
#faq_arn ⇒ String (readonly)
The ARN of the Faq resource.
22 23 24 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 22 def faq_arn @faq_arn end |
#faq_id ⇒ String (readonly)
The Id of the Faq resource.
26 27 28 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 26 def faq_id @faq_id end |
#index_id ⇒ String (readonly)
The IndexId of the Faq resource.
30 31 32 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 30 def index_id @index_id end |
Class Method Details
.jsii_properties ⇒ Object
32 33 34 35 36 37 38 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 32 def self.jsii_properties { :faq_arn => "faqArn", :faq_id => "faqId", :index_id => "indexId", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'interfaces/aws_kendra/faq_reference.rb', line 40 def to_jsii result = {} result.merge!({ "faqArn" => @faq_arn, "faqId" => @faq_id, "indexId" => @index_id, }) result.compact end |