Class: AWSCDK::Bedrock::CfnFlowVersion::PromptFlowNodeResourceConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::PromptFlowNodeResourceConfigurationProperty
- Defined in:
- bedrock/cfn_flow_version.rb
Overview
Contains configurations for a prompt from Prompt management to use in a node.
Instance Attribute Summary collapse
-
#prompt_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the prompt from Prompt management.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(prompt_arn:) ⇒ PromptFlowNodeResourceConfigurationProperty
constructor
A new instance of PromptFlowNodeResourceConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(prompt_arn:) ⇒ PromptFlowNodeResourceConfigurationProperty
Returns a new instance of PromptFlowNodeResourceConfigurationProperty.
2005 2006 2007 2008 |
# File 'bedrock/cfn_flow_version.rb', line 2005 def initialize(prompt_arn:) @prompt_arn = prompt_arn Jsii::Type.check_type(@prompt_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "promptArn") end |
Instance Attribute Details
#prompt_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the prompt from Prompt management.
2014 2015 2016 |
# File 'bedrock/cfn_flow_version.rb', line 2014 def prompt_arn @prompt_arn end |
Class Method Details
.jsii_properties ⇒ Object
2016 2017 2018 2019 2020 |
# File 'bedrock/cfn_flow_version.rb', line 2016 def self.jsii_properties { :prompt_arn => "promptArn", } end |
Instance Method Details
#to_jsii ⇒ Object
2022 2023 2024 2025 2026 2027 2028 |
# File 'bedrock/cfn_flow_version.rb', line 2022 def to_jsii result = {} result.merge!({ "promptArn" => @prompt_arn, }) result.compact end |