Class: AWSCDK::Bedrock::CfnFlowVersion::LexFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlowVersion::LexFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow_version.rb
Overview
Contains configurations for a Lex node in the flow.
You specify a Amazon Lex bot to invoke. This node takes an utterance as the input and returns as the output the intent identified by the Amazon Lex bot. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
Instance Attribute Summary collapse
-
#bot_alias_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
-
#locale_id ⇒ String
readonly
The Region to invoke the Amazon Lex bot in.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bot_alias_arn:, locale_id:) ⇒ LexFlowNodeConfigurationProperty
constructor
A new instance of LexFlowNodeConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bot_alias_arn:, locale_id:) ⇒ LexFlowNodeConfigurationProperty
Returns a new instance of LexFlowNodeConfigurationProperty.
1685 1686 1687 1688 1689 1690 |
# File 'bedrock/cfn_flow_version.rb', line 1685 def initialize(bot_alias_arn:, locale_id:) @bot_alias_arn = bot_alias_arn Jsii::Type.check_type(@bot_alias_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "botAliasArn") @locale_id = locale_id Jsii::Type.check_type(@locale_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localeId") end |
Instance Attribute Details
#bot_alias_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.
1696 1697 1698 |
# File 'bedrock/cfn_flow_version.rb', line 1696 def bot_alias_arn @bot_alias_arn end |
#locale_id ⇒ String (readonly)
The Region to invoke the Amazon Lex bot in.
1701 1702 1703 |
# File 'bedrock/cfn_flow_version.rb', line 1701 def locale_id @locale_id end |
Class Method Details
.jsii_properties ⇒ Object
1703 1704 1705 1706 1707 1708 |
# File 'bedrock/cfn_flow_version.rb', line 1703 def self.jsii_properties { :bot_alias_arn => "botAliasArn", :locale_id => "localeId", } end |
Instance Method Details
#to_jsii ⇒ Object
1710 1711 1712 1713 1714 1715 1716 1717 |
# File 'bedrock/cfn_flow_version.rb', line 1710 def to_jsii result = {} result.merge!({ "botAliasArn" => @bot_alias_arn, "localeId" => @locale_id, }) result.compact end |