Class: AWSCDK::Bedrock::CfnFlow::LexFlowNodeConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bot_alias_arn:, locale_id:) ⇒ LexFlowNodeConfigurationProperty

Returns a new instance of LexFlowNodeConfigurationProperty.

Parameters:

  • bot_alias_arn (String)

    The Amazon Resource Name (ARN) of the Amazon Lex bot alias to invoke.

  • locale_id (String)

    The Region to invoke the Amazon Lex bot in.



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_arnString (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_idString (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_propertiesObject



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_jsiiObject



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