Class: AWSCDK::Interfaces::AWSBedrock::IntelligentPromptRouterReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSBedrock::IntelligentPromptRouterReference
- Defined in:
- interfaces/aws_bedrock/intelligent_prompt_router_reference.rb
Overview
A reference to a IntelligentPromptRouter resource.
Instance Attribute Summary collapse
-
#prompt_router_arn ⇒ String
readonly
The PromptRouterArn of the IntelligentPromptRouter resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(prompt_router_arn:) ⇒ IntelligentPromptRouterReference
constructor
A new instance of IntelligentPromptRouterReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(prompt_router_arn:) ⇒ IntelligentPromptRouterReference
Returns a new instance of IntelligentPromptRouterReference.
8 9 10 11 |
# File 'interfaces/aws_bedrock/intelligent_prompt_router_reference.rb', line 8 def initialize(prompt_router_arn:) @prompt_router_arn = prompt_router_arn Jsii::Type.check_type(@prompt_router_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "promptRouterArn") end |
Instance Attribute Details
#prompt_router_arn ⇒ String (readonly)
The PromptRouterArn of the IntelligentPromptRouter resource.
16 17 18 |
# File 'interfaces/aws_bedrock/intelligent_prompt_router_reference.rb', line 16 def prompt_router_arn @prompt_router_arn end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_bedrock/intelligent_prompt_router_reference.rb', line 18 def self.jsii_properties { :prompt_router_arn => "promptRouterArn", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_bedrock/intelligent_prompt_router_reference.rb', line 24 def to_jsii result = {} result.merge!({ "promptRouterArn" => @prompt_router_arn, }) result.compact end |