Class: AWSCDK::Bedrock::CfnFlow::LexFlowNodeConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnFlow::LexFlowNodeConfigurationProperty
- Defined in:
- bedrock/cfn_flow.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.
1864 1865 1866 1867 1868 1869 |
# File 'bedrock/cfn_flow.rb', line 1864 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.
1875 1876 1877 |
# File 'bedrock/cfn_flow.rb', line 1875 def bot_alias_arn @bot_alias_arn end |
#locale_id ⇒ String (readonly)
The Region to invoke the Amazon Lex bot in.
1880 1881 1882 |
# File 'bedrock/cfn_flow.rb', line 1880 def locale_id @locale_id end |
Class Method Details
.jsii_properties ⇒ Object
1882 1883 1884 1885 1886 1887 |
# File 'bedrock/cfn_flow.rb', line 1882 def self.jsii_properties { :bot_alias_arn => "botAliasArn", :locale_id => "localeId", } end |
Instance Method Details
#to_jsii ⇒ Object
1889 1890 1891 1892 1893 1894 1895 1896 |
# File 'bedrock/cfn_flow.rb', line 1889 def to_jsii result = {} result.merge!({ "botAliasArn" => @bot_alias_arn, "localeId" => @locale_id, }) result.compact end |