CfnBot
- class aws_cdk.aws_lex.CfnBot(scope, id, *, data_privacy, idle_session_ttl_in_seconds, name, role_arn, auto_build_bot_locales=None, bot_file_s3_location=None, bot_locales=None, bot_tags=None, description=None, test_bot_alias_settings=None, test_bot_alias_tags=None)
Bases:
CfnResource
A CloudFormation
AWS::Lex::Bot
.Amazon Lex V2 is the only supported version in AWS CloudFormation .
Specifies an Amazon Lex conversational bot.
You must configure an intent based on the
AMAZON.FallbackIntent
built-in intent. If you don’t add one, creating the bot will fail.- CloudformationResource:
AWS::Lex::Bot
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-bot.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # data_privacy: Any # sentiment_analysis_settings: Any # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty cfn_bot = lex.CfnBot(self, "MyCfnBot", data_privacy=data_privacy, idle_session_ttl_in_seconds=123, name="name", role_arn="roleArn", # the properties below are optional auto_build_bot_locales=False, bot_file_s3_location=lex.CfnBot.S3LocationProperty( s3_bucket="s3Bucket", s3_object_key="s3ObjectKey", # the properties below are optional s3_object_version="s3ObjectVersion" ), bot_locales=[lex.CfnBot.BotLocaleProperty( locale_id="localeId", nlu_confidence_threshold=123, # the properties below are optional custom_vocabulary=lex.CfnBot.CustomVocabularyProperty( custom_vocabulary_items=[lex.CfnBot.CustomVocabularyItemProperty( phrase="phrase", # the properties below are optional display_as="displayAs", weight=123 )] ), description="description", intents=[lex.CfnBot.IntentProperty( name="name", # the properties below are optional description="description", dialog_code_hook=lex.CfnBot.DialogCodeHookSettingProperty( enabled=False ), fulfillment_code_hook=lex.CfnBot.FulfillmentCodeHookSettingProperty( enabled=False, # the properties below are optional fulfillment_updates_specification=lex.CfnBot.FulfillmentUpdatesSpecificationProperty( active=False, # the properties below are optional start_response=lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_in_seconds=123, update_response=lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False, post_fulfillment_status_specification=lex.CfnBot.PostFulfillmentStatusSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ) ), initial_response_setting=lex.CfnBot.InitialResponseSettingProperty( code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), initial_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), input_contexts=[lex.CfnBot.InputContextProperty( name="name" )], intent_closing_setting=lex.CfnBot.IntentClosingSettingProperty( closing_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), is_active=False, next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), intent_confirmation_setting=lex.CfnBot.IntentConfirmationSettingProperty( prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), # the properties below are optional code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), confirmation_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), confirmation_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), confirmation_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), declination_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), declination_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), declination_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), is_active=False ), kendra_configuration=lex.CfnBot.KendraConfigurationProperty( kendra_index="kendraIndex", # the properties below are optional query_filter_string="queryFilterString", query_filter_string_enabled=False ), output_contexts=[lex.CfnBot.OutputContextProperty( name="name", time_to_live_in_seconds=123, turns_to_live=123 )], parent_intent_signature="parentIntentSignature", sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_priorities=[lex.CfnBot.SlotPriorityProperty( priority=123, slot_name="slotName" )], slots=[lex.CfnBot.SlotProperty( name="name", slot_type_name="slotTypeName", value_elicitation_setting=lex.CfnBot.SlotValueElicitationSettingProperty( slot_constraint="slotConstraint", # the properties below are optional default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] ), prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_capture_setting=lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) ) ), # the properties below are optional description="description", multiple_values_setting=lex.CfnBot.MultipleValuesSettingProperty( allow_multiple_values=False ), obfuscation_setting=lex.CfnBot.ObfuscationSettingProperty( obfuscation_setting_type="obfuscationSettingType" ) )] )], slot_types=[lex.CfnBot.SlotTypeProperty( name="name", # the properties below are optional description="description", external_source_setting=lex.CfnBot.ExternalSourceSettingProperty( grammar_slot_type_setting=lex.CfnBot.GrammarSlotTypeSettingProperty( source=lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" ) ) ), parent_slot_type_signature="parentSlotTypeSignature", slot_type_values=[lex.CfnBot.SlotTypeValueProperty( sample_value=lex.CfnBot.SampleValueProperty( value="value" ), # the properties below are optional synonyms=[lex.CfnBot.SampleValueProperty( value="value" )] )], value_selection_setting=lex.CfnBot.SlotValueSelectionSettingProperty( resolution_strategy="resolutionStrategy", # the properties below are optional advanced_recognition_setting=lex.CfnBot.AdvancedRecognitionSettingProperty( audio_recognition_strategy="audioRecognitionStrategy" ), regex_filter=lex.CfnBot.SlotValueRegexFilterProperty( pattern="pattern" ) ) )], voice_settings=lex.CfnBot.VoiceSettingsProperty( voice_id="voiceId", # the properties below are optional engine="engine" ) )], bot_tags=[CfnTag( key="key", value="value" )], description="description", test_bot_alias_settings=lex.CfnBot.TestBotAliasSettingsProperty( bot_alias_locale_settings=[lex.CfnBot.BotAliasLocaleSettingsItemProperty( bot_alias_locale_setting=lex.CfnBot.BotAliasLocaleSettingsProperty( enabled=False, # the properties below are optional code_hook_specification=lex.CfnBot.CodeHookSpecificationProperty( lambda_code_hook=lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) ) ), locale_id="localeId" )], conversation_log_settings=lex.CfnBot.ConversationLogSettingsProperty( audio_log_settings=[lex.CfnBot.AudioLogSettingProperty( destination=lex.CfnBot.AudioLogDestinationProperty( s3_bucket=lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" ) ), enabled=False )], text_log_settings=[lex.CfnBot.TextLogSettingProperty( destination=lex.CfnBot.TextLogDestinationProperty( cloud_watch=lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) ), enabled=False )] ), description="description", sentiment_analysis_settings=sentiment_analysis_settings ), test_bot_alias_tags=[CfnTag( key="key", value="value" )] )
Create a new
AWS::Lex::Bot
.- Parameters:
scope (
Construct
) –scope in which this resource is defined.
id (
str
) –scoped id of the resource.
data_privacy (
Any
) – By default, data stored by Amazon Lex is encrypted. TheDataPrivacy
structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.idle_session_ttl_in_seconds (
Union
[int
,float
]) – The time, in seconds, that Amazon Lex should keep information about a user’s conversation with the bot. A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout. You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.name (
str
) – The name of the bot locale.role_arn (
str
) – The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.auto_build_bot_locales (
Union
[bool
,IResolvable
,None
]) – Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.bot_file_s3_location (
Union
[IResolvable
,S3LocationProperty
,Dict
[str
,Any
],None
]) – The Amazon S3 location of files used to import a bot. The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.bot_locales (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,BotLocaleProperty
,Dict
[str
,Any
]]],None
]) – A list of locales for the bot.bot_tags (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,CfnTag
,Dict
[str
,Any
]]],None
]) – A list of tags to add to the bot. You can only add tags when you import a bot. You can’t use theUpdateBot
operation to update tags. To update tags, use theTagResource
operation.description (
Optional
[str
]) – The description of the version.test_bot_alias_settings (
Union
[IResolvable
,TestBotAliasSettingsProperty
,Dict
[str
,Any
],None
]) – Specifies configuration settings for the alias used to test the bot. If theTestBotAliasSettings
property is not specified, the settings are configured with default values.test_bot_alias_tags (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,CfnTag
,Dict
[str
,Any
]]],None
]) – A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can’t use theUpdateAlias
operation to update tags. To update tags on the test alias, use theTagResource
operation.
Methods
- add_deletion_override(path)
Syntactic sugar for
addOverride(path, undefined)
.- Parameters:
path (
str
) – The path of the value to delete.- Return type:
None
- add_depends_on(target)
Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.
- Parameters:
target (
CfnResource
)- Return type:
None
- add_metadata(key, value)
Add a value to the CloudFormation Resource Metadata.
- Parameters:
key (
str
)value (
Any
)
- See:
- Return type:
None
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- add_override(path, value)
Adds an override to the synthesized CloudFormation resource.
To add a property override, either use
addPropertyOverride
or prefixpath
with “Properties.” (i.e.Properties.TopicName
).If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.
To include a literal
.
in the property name, prefix with a\
. In most programming languages you will need to write this as"\\."
because the\
itself will need to be escaped.For example:
cfn_resource.add_override("Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes", ["myattribute"]) cfn_resource.add_override("Properties.GlobalSecondaryIndexes.1.ProjectionType", "INCLUDE")
would add the overrides Example:
"Properties": { "GlobalSecondaryIndexes": [ { "Projection": { "NonKeyAttributes": [ "myattribute" ] ... } ... }, { "ProjectionType": "INCLUDE" ... }, ] ... }
The
value
argument toaddOverride
will not be processed or translated in any way. Pass raw JSON values in here with the correct capitalization for CloudFormation. If you pass CDK classes or structs, they will be rendered with lowercased key names, and CloudFormation will reject the template.- Parameters:
path (
str
) –The path of the property, you can use dot notation to override values in complex types. Any intermdediate keys will be created as needed.
value (
Any
) –The value. Could be primitive or complex.
- Return type:
None
- add_property_deletion_override(property_path)
Adds an override that deletes the value of a property from the resource definition.
- Parameters:
property_path (
str
) – The path to the property.- Return type:
None
- add_property_override(property_path, value)
Adds an override to a resource property.
Syntactic sugar for
addOverride("Properties.<...>", value)
.- Parameters:
property_path (
str
) – The path of the property.value (
Any
) – The value.
- Return type:
None
- apply_removal_policy(policy=None, *, apply_to_update_replace_policy=None, default=None)
Sets the deletion policy of the resource based on the removal policy specified.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you’ve removed it from the CDK application or because you’ve made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Parameters:
policy (
Optional
[RemovalPolicy
])apply_to_update_replace_policy (
Optional
[bool
]) – Apply the same deletion policy to the resource’s “UpdateReplacePolicy”. Default: truedefault (
Optional
[RemovalPolicy
]) – The default policy to apply in case the removal policy is not defined. Default: - Default value is resource specific. To determine the default value for a resoure, please consult that specific resource’s documentation.
- Return type:
None
- get_att(attribute_name)
Returns a token for an runtime attribute of this resource.
Ideally, use generated attribute accessors (e.g.
resource.arn
), but this can be used for future compatibility in case there is no generated attribute.- Parameters:
attribute_name (
str
) – The name of the attribute.- Return type:
- get_metadata(key)
Retrieve a value value from the CloudFormation Resource Metadata.
- Parameters:
key (
str
)- See:
- Return type:
Any
Note that this is a different set of metadata from CDK node metadata; this metadata ends up in the stack template under the resource, whereas CDK node metadata ends up in the Cloud Assembly.
- inspect(inspector)
Examines the CloudFormation resource and discloses attributes.
- Parameters:
inspector (
TreeInspector
) –tree inspector to collect and process attributes.
- Return type:
None
- override_logical_id(new_logical_id)
Overrides the auto-generated logical ID with a specific ID.
- Parameters:
new_logical_id (
str
) – The new logical ID to use for this stack element.- Return type:
None
- to_string()
Returns a string representation of this construct.
- Return type:
str
- Returns:
a string representation of this resource
Attributes
- CFN_RESOURCE_TYPE_NAME = 'AWS::Lex::Bot'
- attr_arn
The Amazon Resource Name (ARN) of the bot.
- CloudformationAttribute:
Arn
- attr_id
The unique identifier of the bot.
- CloudformationAttribute:
Id
- auto_build_bot_locales
Indicates whether Amazon Lex V2 should automatically build the locales for the bot after a change.
- bot_file_s3_location
The Amazon S3 location of files used to import a bot.
The files must be in the import format specified in JSON format for importing and exporting in the Amazon Lex developer guide.
- bot_locales
A list of locales for the bot.
- bot_tags
A list of tags to add to the bot.
You can only add tags when you import a bot. You can’t use the
UpdateBot
operation to update tags. To update tags, use theTagResource
operation.
- cfn_options
Options for this resource, such as condition, update policy etc.
- cfn_resource_type
AWS resource type.
- creation_stack
return:
the stack trace of the point where this Resource was created from, sourced from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most node +internal+ entries filtered.
- data_privacy
By default, data stored by Amazon Lex is encrypted.
The
DataPrivacy
structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.
- description
The description of the version.
- idle_session_ttl_in_seconds
The time, in seconds, that Amazon Lex should keep information about a user’s conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
- logical_id
The logical ID for this CloudFormation stack element.
The logical ID of the element is calculated from the path of the resource node in the construct tree.
To override this value, use
overrideLogicalId(newLogicalId)
.- Returns:
the logical ID as a stringified token. This value will only get resolved during synthesis.
- name
The name of the bot locale.
- node
The construct tree node associated with this construct.
- ref
Return a string that will be resolved to a CloudFormation
{ Ref }
for this element.If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through
Lazy.any({ produce: resource.ref })
.
- role_arn
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
- stack
The stack in which this element is defined.
CfnElements must be defined within a stack scope (directly or indirectly).
- test_bot_alias_settings
Specifies configuration settings for the alias used to test the bot.
If the
TestBotAliasSettings
property is not specified, the settings are configured with default values.
- test_bot_alias_tags
A list of tags to add to the test alias for a bot.
You can only add tags when you import a bot. You can’t use the
UpdateAlias
operation to update tags. To update tags on the test alias, use theTagResource
operation.
Static Methods
- classmethod is_cfn_element(x)
Returns
true
if a construct is a stack element (i.e. part of the synthesized cloudformation template).Uses duck-typing instead of
instanceof
to allow stack elements from different versions of this library to be included in the same stack.- Parameters:
x (
Any
)- Return type:
bool
- Returns:
The construct as a stack element or undefined if it is not a stack element.
- classmethod is_cfn_resource(construct)
Check whether the given construct is a CfnResource.
- Parameters:
construct (
IConstruct
)- Return type:
bool
- classmethod is_construct(x)
Return whether the given object is a Construct.
- Parameters:
x (
Any
)- Return type:
bool
AdvancedRecognitionSettingProperty
- class CfnBot.AdvancedRecognitionSettingProperty(*, audio_recognition_strategy=None)
Bases:
object
Provides settings that enable advanced recognition settings for slot values.
- Parameters:
audio_recognition_strategy (
Optional
[str
]) – Enables using the slot values as a custom vocabulary for recognizing user utterances.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex advanced_recognition_setting_property = lex.CfnBot.AdvancedRecognitionSettingProperty( audio_recognition_strategy="audioRecognitionStrategy" )
Attributes
- audio_recognition_strategy
Enables using the slot values as a custom vocabulary for recognizing user utterances.
AllowedInputTypesProperty
- class CfnBot.AllowedInputTypesProperty(*, allow_audio_input, allow_dtmf_input)
Bases:
object
Specifies the allowed input types.
- Parameters:
allow_audio_input (
Union
[bool
,IResolvable
]) – Indicates whether audio input is allowed.allow_dtmf_input (
Union
[bool
,IResolvable
]) – Indicates whether DTMF input is allowed.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex allowed_input_types_property = lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False )
Attributes
- allow_audio_input
Indicates whether audio input is allowed.
- allow_dtmf_input
Indicates whether DTMF input is allowed.
AudioAndDTMFInputSpecificationProperty
- class CfnBot.AudioAndDTMFInputSpecificationProperty(*, start_timeout_ms, audio_specification=None, dtmf_specification=None)
Bases:
object
Specifies the audio and DTMF input specification.
- Parameters:
start_timeout_ms (
Union
[int
,float
]) – Time for which a bot waits before assuming that the customer isn’t going to speak or press a key. This timeout is shared between Audio and DTMF inputs.audio_specification (
Union
[IResolvable
,AudioSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the settings on audio input.dtmf_specification (
Union
[IResolvable
,DTMFSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the settings on DTMF input.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex audio_and_dTMFInput_specification_property = lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) )
Attributes
- audio_specification
Specifies the settings on audio input.
- dtmf_specification
Specifies the settings on DTMF input.
- start_timeout_ms
Time for which a bot waits before assuming that the customer isn’t going to speak or press a key.
This timeout is shared between Audio and DTMF inputs.
AudioLogDestinationProperty
- class CfnBot.AudioLogDestinationProperty(*, s3_bucket)
Bases:
object
The location of audio log files collected when conversation logging is enabled for a bot.
- Parameters:
s3_bucket (
Union
[IResolvable
,S3BucketLogDestinationProperty
,Dict
[str
,Any
]]) – Specifies the Amazon S3 bucket where the audio files are stored.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex audio_log_destination_property = lex.CfnBot.AudioLogDestinationProperty( s3_bucket=lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" ) )
Attributes
- s3_bucket
Specifies the Amazon S3 bucket where the audio files are stored.
AudioLogSettingProperty
- class CfnBot.AudioLogSettingProperty(*, destination, enabled)
Bases:
object
Settings for logging audio of conversations between Amazon Lex and a user.
You specify whether to log audio and the Amazon S3 bucket where the audio file is stored.
- Parameters:
destination (
Union
[IResolvable
,AudioLogDestinationProperty
,Dict
[str
,Any
]]) – Specifies the location of the audio log files collected when conversation logging is enabled for a bot.enabled (
Union
[bool
,IResolvable
]) – Determines whether audio logging in enabled for the bot.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex audio_log_setting_property = lex.CfnBot.AudioLogSettingProperty( destination=lex.CfnBot.AudioLogDestinationProperty( s3_bucket=lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" ) ), enabled=False )
Attributes
- destination
Specifies the location of the audio log files collected when conversation logging is enabled for a bot.
- enabled
Determines whether audio logging in enabled for the bot.
AudioSpecificationProperty
- class CfnBot.AudioSpecificationProperty(*, end_timeout_ms, max_length_ms)
Bases:
object
Specifies the audio input specifications.
- Parameters:
end_timeout_ms (
Union
[int
,float
]) – Time for which a bot waits after the customer stops speaking to assume the utterance is finished.max_length_ms (
Union
[int
,float
]) – Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex audio_specification_property = lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 )
Attributes
- end_timeout_ms
Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
- max_length_ms
Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
BotAliasLocaleSettingsItemProperty
- class CfnBot.BotAliasLocaleSettingsItemProperty(*, bot_alias_locale_setting, locale_id)
Bases:
object
Specifies locale settings for a single locale.
- Parameters:
bot_alias_locale_setting (
Union
[IResolvable
,BotAliasLocaleSettingsProperty
,Dict
[str
,Any
]]) – Specifies locale settings for a locale.locale_id (
str
) – Specifies the locale that the settings apply to.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex bot_alias_locale_settings_item_property = lex.CfnBot.BotAliasLocaleSettingsItemProperty( bot_alias_locale_setting=lex.CfnBot.BotAliasLocaleSettingsProperty( enabled=False, # the properties below are optional code_hook_specification=lex.CfnBot.CodeHookSpecificationProperty( lambda_code_hook=lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) ) ), locale_id="localeId" )
Attributes
- bot_alias_locale_setting
Specifies locale settings for a locale.
- locale_id
Specifies the locale that the settings apply to.
BotAliasLocaleSettingsProperty
- class CfnBot.BotAliasLocaleSettingsProperty(*, enabled, code_hook_specification=None)
Bases:
object
Specifies settings that are unique to a locale.
For example, you can use different Lambda function depending on the bot’s locale.
- Parameters:
enabled (
Union
[bool
,IResolvable
]) – Determines whether the locale is enabled for the bot. If the value isfalse
, the locale isn’t available for use.code_hook_specification (
Union
[IResolvable
,CodeHookSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the Lambda function that should be used in the locale.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex bot_alias_locale_settings_property = lex.CfnBot.BotAliasLocaleSettingsProperty( enabled=False, # the properties below are optional code_hook_specification=lex.CfnBot.CodeHookSpecificationProperty( lambda_code_hook=lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) ) )
Attributes
- code_hook_specification
Specifies the Lambda function that should be used in the locale.
- enabled
Determines whether the locale is enabled for the bot.
If the value is
false
, the locale isn’t available for use.
BotLocaleProperty
- class CfnBot.BotLocaleProperty(*, locale_id, nlu_confidence_threshold, custom_vocabulary=None, description=None, intents=None, slot_types=None, voice_settings=None)
Bases:
object
Provides configuration information for a locale.
- Parameters:
locale_id (
str
) – The identifier of the language and locale that the bot will be used in. The string must match one of the supported locales.nlu_confidence_threshold (
Union
[int
,float
]) – Determines the threshold where Amazon Lex will insert theAMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents. You must configure anAMAZON.FallbackIntent
.AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.custom_vocabulary (
Union
[IResolvable
,CustomVocabularyProperty
,Dict
[str
,Any
],None
]) – Specifies a custom vocabulary to use with a specific locale.description (
Optional
[str
]) – A description of the bot locale. Use this to help identify the bot locale in lists.intents (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,IntentProperty
,Dict
[str
,Any
]]],None
]) – One or more intents defined for the locale.slot_types (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotTypeProperty
,Dict
[str
,Any
]]],None
]) – One or more slot types defined for the locale.voice_settings (
Union
[IResolvable
,VoiceSettingsProperty
,Dict
[str
,Any
],None
]) – Defines settings for using an Amazon Polly voice to communicate with a user.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty bot_locale_property = lex.CfnBot.BotLocaleProperty( locale_id="localeId", nlu_confidence_threshold=123, # the properties below are optional custom_vocabulary=lex.CfnBot.CustomVocabularyProperty( custom_vocabulary_items=[lex.CfnBot.CustomVocabularyItemProperty( phrase="phrase", # the properties below are optional display_as="displayAs", weight=123 )] ), description="description", intents=[lex.CfnBot.IntentProperty( name="name", # the properties below are optional description="description", dialog_code_hook=lex.CfnBot.DialogCodeHookSettingProperty( enabled=False ), fulfillment_code_hook=lex.CfnBot.FulfillmentCodeHookSettingProperty( enabled=False, # the properties below are optional fulfillment_updates_specification=lex.CfnBot.FulfillmentUpdatesSpecificationProperty( active=False, # the properties below are optional start_response=lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_in_seconds=123, update_response=lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False, post_fulfillment_status_specification=lex.CfnBot.PostFulfillmentStatusSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ) ), initial_response_setting=lex.CfnBot.InitialResponseSettingProperty( code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), initial_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), input_contexts=[lex.CfnBot.InputContextProperty( name="name" )], intent_closing_setting=lex.CfnBot.IntentClosingSettingProperty( closing_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), is_active=False, next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), intent_confirmation_setting=lex.CfnBot.IntentConfirmationSettingProperty( prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), # the properties below are optional code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), confirmation_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), confirmation_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), confirmation_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), declination_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), declination_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), declination_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), is_active=False ), kendra_configuration=lex.CfnBot.KendraConfigurationProperty( kendra_index="kendraIndex", # the properties below are optional query_filter_string="queryFilterString", query_filter_string_enabled=False ), output_contexts=[lex.CfnBot.OutputContextProperty( name="name", time_to_live_in_seconds=123, turns_to_live=123 )], parent_intent_signature="parentIntentSignature", sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_priorities=[lex.CfnBot.SlotPriorityProperty( priority=123, slot_name="slotName" )], slots=[lex.CfnBot.SlotProperty( name="name", slot_type_name="slotTypeName", value_elicitation_setting=lex.CfnBot.SlotValueElicitationSettingProperty( slot_constraint="slotConstraint", # the properties below are optional default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] ), prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_capture_setting=lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) ) ), # the properties below are optional description="description", multiple_values_setting=lex.CfnBot.MultipleValuesSettingProperty( allow_multiple_values=False ), obfuscation_setting=lex.CfnBot.ObfuscationSettingProperty( obfuscation_setting_type="obfuscationSettingType" ) )] )], slot_types=[lex.CfnBot.SlotTypeProperty( name="name", # the properties below are optional description="description", external_source_setting=lex.CfnBot.ExternalSourceSettingProperty( grammar_slot_type_setting=lex.CfnBot.GrammarSlotTypeSettingProperty( source=lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" ) ) ), parent_slot_type_signature="parentSlotTypeSignature", slot_type_values=[lex.CfnBot.SlotTypeValueProperty( sample_value=lex.CfnBot.SampleValueProperty( value="value" ), # the properties below are optional synonyms=[lex.CfnBot.SampleValueProperty( value="value" )] )], value_selection_setting=lex.CfnBot.SlotValueSelectionSettingProperty( resolution_strategy="resolutionStrategy", # the properties below are optional advanced_recognition_setting=lex.CfnBot.AdvancedRecognitionSettingProperty( audio_recognition_strategy="audioRecognitionStrategy" ), regex_filter=lex.CfnBot.SlotValueRegexFilterProperty( pattern="pattern" ) ) )], voice_settings=lex.CfnBot.VoiceSettingsProperty( voice_id="voiceId", # the properties below are optional engine="engine" ) )
Attributes
- custom_vocabulary
Specifies a custom vocabulary to use with a specific locale.
- description
A description of the bot locale.
Use this to help identify the bot locale in lists.
- intents
One or more intents defined for the locale.
- locale_id
The identifier of the language and locale that the bot will be used in.
The string must match one of the supported locales.
- nlu_confidence_threshold
Determines the threshold where Amazon Lex will insert the
AMAZON.FallbackIntent
,AMAZON.KendraSearchIntent
, or both when returning alternative intents. You must configure anAMAZON.FallbackIntent
.AMAZON.KendraSearchIntent
is only inserted if it is configured for the bot.
- slot_types
One or more slot types defined for the locale.
- voice_settings
Defines settings for using an Amazon Polly voice to communicate with a user.
CloudWatchLogGroupLogDestinationProperty
- class CfnBot.CloudWatchLogGroupLogDestinationProperty(*, cloud_watch_log_group_arn, log_prefix)
Bases:
object
The Amazon CloudWatch Logs log group where the text and metadata logs are delivered.
The log group must exist before you enable logging.
- Parameters:
cloud_watch_log_group_arn (
str
) – The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.log_prefix (
str
) – The prefix of the log stream name within the log group that you specified.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex cloud_watch_log_group_log_destination_property = lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" )
Attributes
- cloud_watch_log_group_arn
The Amazon Resource Name (ARN) of the log group where text and metadata logs are delivered.
- log_prefix
The prefix of the log stream name within the log group that you specified.
CodeHookSpecificationProperty
- class CfnBot.CodeHookSpecificationProperty(*, lambda_code_hook)
Bases:
object
Contains information about code hooks that Amazon Lex calls during a conversation.
- Parameters:
lambda_code_hook (
Union
[IResolvable
,LambdaCodeHookProperty
,Dict
[str
,Any
]]) – Specifies a Lambda function that verifies requests to a bot or fulfills the user’s request to a bot.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex code_hook_specification_property = lex.CfnBot.CodeHookSpecificationProperty( lambda_code_hook=lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) )
Attributes
- lambda_code_hook
Specifies a Lambda function that verifies requests to a bot or fulfills the user’s request to a bot.
ConditionProperty
- class CfnBot.ConditionProperty(*, expression_string)
Bases:
object
Provides an expression that evaluates to true or false.
- Parameters:
expression_string (
str
) – The expression string that is evaluated.- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-condition.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex condition_property = lex.CfnBot.ConditionProperty( expression_string="expressionString" )
Attributes
- expression_string
The expression string that is evaluated.
ConditionalBranchProperty
- class CfnBot.ConditionalBranchProperty(*, condition, name, next_step, response=None)
Bases:
object
A set of actions that Amazon Lex should run if the condition is matched.
- Parameters:
condition (
Union
[IResolvable
,ConditionProperty
,Dict
[str
,Any
]]) – Contains the expression to evaluate. If the condition is true, the branch’s actions are taken.name (
str
) – The name of the branch.next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
]]) – The next step in the conversation.response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty conditional_branch_property = lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- condition
Contains the expression to evaluate.
If the condition is true, the branch’s actions are taken.
- name
The name of the branch.
- next_step
The next step in the conversation.
- response
Specifies a list of message groups that Amazon Lex uses to respond the user input.
ConditionalSpecificationProperty
- class CfnBot.ConditionalSpecificationProperty(*, conditional_branches, default_branch, is_active)
Bases:
object
Provides a list of conditional branches.
Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
- Parameters:
conditional_branches (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ConditionalBranchProperty
,Dict
[str
,Any
]]]]) – A list of conditional branches. A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.default_branch (
Union
[IResolvable
,DefaultConditionalBranchProperty
,Dict
[str
,Any
]]) – The conditional branch that should be followed when the conditions for other branches are not satisfied. A conditional branch is made up of a condition, a response and a next step.is_active (
Union
[bool
,IResolvable
]) – Determines whether a conditional branch is active. WhenIsActive
is false, the conditions are not evaluated.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty conditional_specification_property = lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False )
Attributes
- conditional_branches
A list of conditional branches.
A conditional branch is made up of a condition, a response and a next step. The response and next step are executed when the condition is true.
- default_branch
The conditional branch that should be followed when the conditions for other branches are not satisfied.
A conditional branch is made up of a condition, a response and a next step.
- is_active
Determines whether a conditional branch is active.
When
IsActive
is false, the conditions are not evaluated.
ConversationLogSettingsProperty
- class CfnBot.ConversationLogSettingsProperty(*, audio_log_settings=None, text_log_settings=None)
Bases:
object
Configures conversation logging that saves audio, text, and metadata for the conversations with your users.
- Parameters:
audio_log_settings (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,AudioLogSettingProperty
,Dict
[str
,Any
]]],None
]) – The Amazon S3 settings for logging audio to an S3 bucket.text_log_settings (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,TextLogSettingProperty
,Dict
[str
,Any
]]],None
]) – The Amazon CloudWatch Logs settings for logging text and metadata.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex conversation_log_settings_property = lex.CfnBot.ConversationLogSettingsProperty( audio_log_settings=[lex.CfnBot.AudioLogSettingProperty( destination=lex.CfnBot.AudioLogDestinationProperty( s3_bucket=lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" ) ), enabled=False )], text_log_settings=[lex.CfnBot.TextLogSettingProperty( destination=lex.CfnBot.TextLogDestinationProperty( cloud_watch=lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) ), enabled=False )] )
Attributes
- audio_log_settings
The Amazon S3 settings for logging audio to an S3 bucket.
- text_log_settings
The Amazon CloudWatch Logs settings for logging text and metadata.
CustomPayloadProperty
- class CfnBot.CustomPayloadProperty(*, value)
Bases:
object
A custom response string that Amazon Lex sends to your application.
You define the content and structure the string.
- Parameters:
value (
str
) – The string that is sent to your application.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex custom_payload_property = lex.CfnBot.CustomPayloadProperty( value="value" )
Attributes
- value
The string that is sent to your application.
CustomVocabularyItemProperty
- class CfnBot.CustomVocabularyItemProperty(*, phrase, display_as=None, weight=None)
Bases:
object
Specifies an entry in a custom vocabulary.
- Parameters:
phrase (
str
) – Specifies 1 - 4 words that should be recognized.display_as (
Optional
[str
]) – The DisplayAs value for the custom vocabulary item from the custom vocabulary list.weight (
Union
[int
,float
,None
]) – Specifies the degree to which the phrase recognition is boosted. The default value is 1.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex custom_vocabulary_item_property = lex.CfnBot.CustomVocabularyItemProperty( phrase="phrase", # the properties below are optional display_as="displayAs", weight=123 )
Attributes
- display_as
The DisplayAs value for the custom vocabulary item from the custom vocabulary list.
- phrase
Specifies 1 - 4 words that should be recognized.
- weight
Specifies the degree to which the phrase recognition is boosted.
The default value is 1.
CustomVocabularyProperty
- class CfnBot.CustomVocabularyProperty(*, custom_vocabulary_items)
Bases:
object
Specifies a custom vocabulary.
A custom vocabulary is a list of words that you expect to be used during a conversation with your bot.
- Parameters:
custom_vocabulary_items (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,CustomVocabularyItemProperty
,Dict
[str
,Any
]]]]) – Specifies a list of words that you expect to be used during a conversation with your bot.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex custom_vocabulary_property = lex.CfnBot.CustomVocabularyProperty( custom_vocabulary_items=[lex.CfnBot.CustomVocabularyItemProperty( phrase="phrase", # the properties below are optional display_as="displayAs", weight=123 )] )
Attributes
- custom_vocabulary_items
Specifies a list of words that you expect to be used during a conversation with your bot.
DTMFSpecificationProperty
- class CfnBot.DTMFSpecificationProperty(*, deletion_character, end_character, end_timeout_ms, max_length)
Bases:
object
Specifies the DTMF input specifications.
- Parameters:
deletion_character (
str
) – The DTMF character that clears the accumulated DTMF digits and immediately ends the input.end_character (
str
) – The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.end_timeout_ms (
Union
[int
,float
]) – How long the bot should wait after the last DTMF character input before assuming that the input has concluded.max_length (
Union
[int
,float
]) – The maximum number of DTMF digits allowed in an utterance.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex d_tMFSpecification_property = lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 )
Attributes
- deletion_character
The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
- end_character
The DTMF character that immediately ends input.
If the user does not press this character, the input ends after the end timeout.
- end_timeout_ms
How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
- max_length
The maximum number of DTMF digits allowed in an utterance.
DataPrivacyProperty
- class CfnBot.DataPrivacyProperty(*, child_directed)
Bases:
object
By default, data stored by Amazon Lex is encrypted.
The
DataPrivacy
structure provides settings that determine how Amazon Lex handles special cases of securing the data for your bot.- Parameters:
child_directed (
Union
[bool
,IResolvable
]) – For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children’s Online Privacy Protection Act (COPPA) by specifyingtrue
orfalse
in thechildDirected
field. By specifyingtrue
in thechildDirected
field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalse
in thechildDirected
field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex data_privacy_property = lex.CfnBot.DataPrivacyProperty( child_directed=False )
Attributes
- child_directed
For each Amazon Lex bot created with the Amazon Lex Model Building Service, you must specify whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to the Children’s Online Privacy Protection Act (COPPA) by specifying
true
orfalse
in thechildDirected
field.By specifying
true
in thechildDirected
field, you confirm that your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. By specifyingfalse
in thechildDirected
field, you confirm that your use of Amazon Lex is not related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. You may not specify a default value for thechildDirected
field that does not accurately reflect whether your use of Amazon Lex is related to a website, program, or other application that is directed or targeted, in whole or in part, to children under age 13 and subject to COPPA. If your use of Amazon Lex relates to a website, program, or other application that is directed in whole or in part, to children under age 13, you must obtain any required verifiable parental consent under COPPA. For information regarding the use of Amazon Lex in connection with websites, programs, or other applications that are directed or targeted, in whole or in part, to children under age 13, see the Amazon Lex FAQ .
DefaultConditionalBranchProperty
- class CfnBot.DefaultConditionalBranchProperty(*, next_step=None, response=None)
Bases:
object
A set of actions that Amazon Lex should run if none of the other conditions are met.
- Parameters:
next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – The next step in the conversation.response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty default_conditional_branch_property = lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- next_step
The next step in the conversation.
- response
Specifies a list of message groups that Amazon Lex uses to respond the user input.
DialogActionProperty
- class CfnBot.DialogActionProperty(*, type, slot_to_elicit=None, suppress_next_message=None)
Bases:
object
Defines the action that the bot executes at runtime when the conversation reaches this step.
- Parameters:
type (
str
) – The action that the bot should execute.slot_to_elicit (
Optional
[str
]) – If the dialog action isElicitSlot
, defines the slot to elicit from the user.suppress_next_message (
Union
[bool
,IResolvable
,None
]) – When true the next message for the intent is not used.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex dialog_action_property = lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False )
Attributes
- slot_to_elicit
If the dialog action is
ElicitSlot
, defines the slot to elicit from the user.
- suppress_next_message
When true the next message for the intent is not used.
- type
The action that the bot should execute.
DialogCodeHookInvocationSettingProperty
- class CfnBot.DialogCodeHookInvocationSettingProperty(*, enable_code_hook_invocation, is_active, post_code_hook_specification, invocation_label=None)
Bases:
object
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
- Parameters:
enable_code_hook_invocation (
Union
[bool
,IResolvable
]) – Indicates whether a Lambda function should be invoked for the dialog.is_active (
Union
[bool
,IResolvable
]) – Determines whether a dialog code hook is used when the intent is activated.post_code_hook_specification (
Union
[IResolvable
,PostDialogCodeHookInvocationSpecificationProperty
,Dict
[str
,Any
]]) – Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.invocation_label (
Optional
[str
]) – A label that indicates the dialog step from which the dialog code hook is happening.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty dialog_code_hook_invocation_setting_property = lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" )
Attributes
- enable_code_hook_invocation
Indicates whether a Lambda function should be invoked for the dialog.
- invocation_label
A label that indicates the dialog step from which the dialog code hook is happening.
- is_active
Determines whether a dialog code hook is used when the intent is activated.
- post_code_hook_specification
Contains the responses and actions that Amazon Lex takes after the Lambda function is complete.
DialogCodeHookSettingProperty
- class CfnBot.DialogCodeHookSettingProperty(*, enabled)
Bases:
object
Settings that determine the Lambda function that Amazon Lex uses for processing user responses.
- Parameters:
enabled (
Union
[bool
,IResolvable
]) – Enables the dialog code hook so that it processes user requests.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex dialog_code_hook_setting_property = lex.CfnBot.DialogCodeHookSettingProperty( enabled=False )
Attributes
- enabled
Enables the dialog code hook so that it processes user requests.
DialogStateProperty
- class CfnBot.DialogStateProperty(*, dialog_action=None, intent=None, session_attributes=None)
Bases:
object
The current state of the conversation with the user.
- Parameters:
dialog_action (
Union
[IResolvable
,DialogActionProperty
,Dict
[str
,Any
],None
]) – Defines the action that the bot executes at runtime when the conversation reaches this step.intent (
Union
[IResolvable
,IntentOverrideProperty
,Dict
[str
,Any
],None
]) – Override settings to configure the intent state.session_attributes (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SessionAttributeProperty
,Dict
[str
,Any
]]],None
]) – Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty dialog_state_property = lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] )
Attributes
- dialog_action
Defines the action that the bot executes at runtime when the conversation reaches this step.
- intent
Override settings to configure the intent state.
- session_attributes
Map of key/value pairs representing session-specific context information.
It contains application information passed between Amazon Lex and a client application.
ElicitationCodeHookInvocationSettingProperty
- class CfnBot.ElicitationCodeHookInvocationSettingProperty(*, enable_code_hook_invocation, invocation_label=None)
Bases:
object
Settings that specify the dialog code hook that is called by Amazon Lex between eliciting slot values.
- Parameters:
enable_code_hook_invocation (
Union
[bool
,IResolvable
]) – Indicates whether a Lambda function should be invoked for the dialog.invocation_label (
Optional
[str
]) – A label that indicates the dialog step from which the dialog code hook is happening.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex elicitation_code_hook_invocation_setting_property = lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" )
Attributes
- enable_code_hook_invocation
Indicates whether a Lambda function should be invoked for the dialog.
- invocation_label
A label that indicates the dialog step from which the dialog code hook is happening.
ExternalSourceSettingProperty
- class CfnBot.ExternalSourceSettingProperty(*, grammar_slot_type_setting=None)
Bases:
object
Provides information about the external source of the slot type’s definition.
- Parameters:
grammar_slot_type_setting (
Union
[IResolvable
,GrammarSlotTypeSettingProperty
,Dict
[str
,Any
],None
]) – Settings required for a slot type based on a grammar that you provide.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex external_source_setting_property = lex.CfnBot.ExternalSourceSettingProperty( grammar_slot_type_setting=lex.CfnBot.GrammarSlotTypeSettingProperty( source=lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" ) ) )
Attributes
- grammar_slot_type_setting
Settings required for a slot type based on a grammar that you provide.
FulfillmentCodeHookSettingProperty
- class CfnBot.FulfillmentCodeHookSettingProperty(*, enabled, fulfillment_updates_specification=None, is_active=None, post_fulfillment_status_specification=None)
Bases:
object
Determines if a Lambda function should be invoked for a specific intent.
- Parameters:
enabled (
Union
[bool
,IResolvable
]) – Indicates whether a Lambda function should be invoked to fulfill a specific intent.fulfillment_updates_specification (
Union
[IResolvable
,FulfillmentUpdatesSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides settings for update messages sent to the user for long-running Lambda fulfillment functions. Fulfillment updates can be used only with streaming conversations.is_active (
Union
[bool
,IResolvable
,None
]) – Determines whether the fulfillment code hook is used. Whenactive
is false, the code hook doesn’t run.post_fulfillment_status_specification (
Union
[IResolvable
,PostFulfillmentStatusSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides settings for messages sent to the user for after the Lambda fulfillment function completes. Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty fulfillment_code_hook_setting_property = lex.CfnBot.FulfillmentCodeHookSettingProperty( enabled=False, # the properties below are optional fulfillment_updates_specification=lex.CfnBot.FulfillmentUpdatesSpecificationProperty( active=False, # the properties below are optional start_response=lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_in_seconds=123, update_response=lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False, post_fulfillment_status_specification=lex.CfnBot.PostFulfillmentStatusSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ) )
Attributes
- enabled
Indicates whether a Lambda function should be invoked to fulfill a specific intent.
- fulfillment_updates_specification
Provides settings for update messages sent to the user for long-running Lambda fulfillment functions.
Fulfillment updates can be used only with streaming conversations.
- is_active
Determines whether the fulfillment code hook is used.
When
active
is false, the code hook doesn’t run.
- post_fulfillment_status_specification
Provides settings for messages sent to the user for after the Lambda fulfillment function completes.
Post-fulfillment messages can be sent for both streaming and non-streaming conversations.
FulfillmentStartResponseSpecificationProperty
- class CfnBot.FulfillmentStartResponseSpecificationProperty(*, delay_in_seconds, message_groups, allow_interrupt=None)
Bases:
object
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
- Parameters:
delay_in_seconds (
Union
[int
,float
]) – The delay between when the Lambda fulfillment function starts running and the start message is played. If the Lambda function returns before the delay is over, the start message isn’t played.message_groups (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageGroupProperty
,Dict
[str
,Any
]]]]) – 1 - 5 message groups that contain start messages. Amazon Lex chooses one of the messages to play to the user.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Determines whether the user can interrupt the start message while it is playing.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex fulfillment_start_response_specification_property = lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False )
Attributes
- allow_interrupt
Determines whether the user can interrupt the start message while it is playing.
- delay_in_seconds
The delay between when the Lambda fulfillment function starts running and the start message is played.
If the Lambda function returns before the delay is over, the start message isn’t played.
- message_groups
1 - 5 message groups that contain start messages.
Amazon Lex chooses one of the messages to play to the user.
FulfillmentUpdateResponseSpecificationProperty
- class CfnBot.FulfillmentUpdateResponseSpecificationProperty(*, frequency_in_seconds, message_groups, allow_interrupt=None)
Bases:
object
Provides settings for a message that is sent periodically to the user while a fulfillment Lambda function is running.
- Parameters:
frequency_in_seconds (
Union
[int
,float
]) – The frequency that a message is sent to the user. When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.message_groups (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageGroupProperty
,Dict
[str
,Any
]]]]) – 1 - 5 message groups that contain update messages. Amazon Lex chooses one of the messages to play to the user.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Determines whether the user can interrupt an update message while it is playing.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex fulfillment_update_response_specification_property = lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False )
Attributes
- allow_interrupt
Determines whether the user can interrupt an update message while it is playing.
- frequency_in_seconds
The frequency that a message is sent to the user.
When the period ends, Amazon Lex chooses a message from the message groups and plays it to the user. If the fulfillment Lambda returns before the first period ends, an update message is not played to the user.
- message_groups
1 - 5 message groups that contain update messages.
Amazon Lex chooses one of the messages to play to the user.
FulfillmentUpdatesSpecificationProperty
- class CfnBot.FulfillmentUpdatesSpecificationProperty(*, active, start_response=None, timeout_in_seconds=None, update_response=None)
Bases:
object
Provides information for updating the user on the progress of fulfilling an intent.
- Parameters:
active (
Union
[bool
,IResolvable
]) – Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent. If theactive
field is set to true, thestartResponse
,updateResponse
, andtimeoutInSeconds
fields are required.start_response (
Union
[IResolvable
,FulfillmentStartResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.timeout_in_seconds (
Union
[int
,float
,None
]) – The length of time that the fulfillment Lambda function should run before it times out.update_response (
Union
[IResolvable
,FulfillmentUpdateResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex fulfillment_updates_specification_property = lex.CfnBot.FulfillmentUpdatesSpecificationProperty( active=False, # the properties below are optional start_response=lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_in_seconds=123, update_response=lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- active
Determines whether fulfillment updates are sent to the user. When this field is true, updates are sent.
If the
active
field is set to true, thestartResponse
,updateResponse
, andtimeoutInSeconds
fields are required.
- start_response
Provides configuration information for the message sent to users when the fulfillment Lambda functions starts running.
- timeout_in_seconds
The length of time that the fulfillment Lambda function should run before it times out.
- update_response
Provides configuration information for messages sent periodically to the user while the fulfillment Lambda function is running.
GrammarSlotTypeSettingProperty
- class CfnBot.GrammarSlotTypeSettingProperty(*, source=None)
Bases:
object
Settings requried for a slot type based on a grammar that you provide.
- Parameters:
source (
Union
[IResolvable
,GrammarSlotTypeSourceProperty
,Dict
[str
,Any
],None
]) – The source of the grammar used to create the slot type.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex grammar_slot_type_setting_property = lex.CfnBot.GrammarSlotTypeSettingProperty( source=lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" ) )
Attributes
- source
The source of the grammar used to create the slot type.
GrammarSlotTypeSourceProperty
- class CfnBot.GrammarSlotTypeSourceProperty(*, s3_bucket_name, s3_object_key, kms_key_arn=None)
Bases:
object
Describes the Amazon S3 bucket name and location for the grammar that is the source for the slot type.
- Parameters:
s3_bucket_name (
str
) – The name of the Amazon S3 bucket that contains the grammar source.s3_object_key (
str
) – The path to the grammar in the Amazon S3 bucket.kms_key_arn (
Optional
[str
]) – The AWS KMS key required to decrypt the contents of the grammar, if any.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex grammar_slot_type_source_property = lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" )
Attributes
- kms_key_arn
The AWS KMS key required to decrypt the contents of the grammar, if any.
- s3_bucket_name
The name of the Amazon S3 bucket that contains the grammar source.
- s3_object_key
The path to the grammar in the Amazon S3 bucket.
ImageResponseCardProperty
- class CfnBot.ImageResponseCardProperty(*, title, buttons=None, image_url=None, subtitle=None)
Bases:
object
A card that is shown to the user by a messaging platform.
You define the contents of the card, the card is displayed by the platform.
When you use a response card, the response from the user is constrained to the text associated with a button on the card.
- Parameters:
title (
str
) – The title to display on the response card. The format of the title is determined by the platform displaying the response card.buttons (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ButtonProperty
,Dict
[str
,Any
]]],None
]) – A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.image_url (
Optional
[str
]) – The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.subtitle (
Optional
[str
]) – The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex image_response_card_property = lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" )
Attributes
- buttons
A list of buttons that should be displayed on the response card.
The arrangement of the buttons is determined by the platform that displays the button.
- image_url
The URL of an image to display on the response card.
The image URL must be publicly available so that the platform displaying the response card has access to the image.
- subtitle
The subtitle to display on the response card.
The format of the subtitle is determined by the platform displaying the response card.
- title
The title to display on the response card.
The format of the title is determined by the platform displaying the response card.
InitialResponseSettingProperty
- class CfnBot.InitialResponseSettingProperty(*, code_hook=None, conditional=None, initial_response=None, next_step=None)
Bases:
object
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
- Parameters:
code_hook (
Union
[IResolvable
,DialogCodeHookInvocationSettingProperty
,Dict
[str
,Any
],None
]) – Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.initial_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input.next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – The next step in the conversation.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty initial_response_setting_property = lex.CfnBot.InitialResponseSettingProperty( code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), initial_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) )
Attributes
- code_hook
Settings that specify the dialog code hook that is called by Amazon Lex at a step of the conversation.
- conditional
Provides a list of conditional branches.
Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
- initial_response
Specifies a list of message groups that Amazon Lex uses to respond the user input.
- next_step
The next step in the conversation.
InputContextProperty
- class CfnBot.InputContextProperty(*, name)
Bases:
object
A context that must be active for an intent to be selected by Amazon Lex.
- Parameters:
name (
str
) – The name of the context.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex input_context_property = lex.CfnBot.InputContextProperty( name="name" )
Attributes
- name
The name of the context.
IntentClosingSettingProperty
- class CfnBot.IntentClosingSettingProperty(*, closing_response=None, conditional=None, is_active=None, next_step=None)
Bases:
object
Provides a statement the Amazon Lex conveys to the user when the intent is successfully fulfilled.
- Parameters:
closing_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – The response that Amazon Lex sends to the user when the intent is complete.conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches associated with the intent’s closing response. These branches are executed when thenextStep
attribute is set toEvalutateConditional
.is_active (
Union
[bool
,IResolvable
,None
]) – Specifies whether an intent’s closing response is used. When this field is false, the closing response isn’t sent to the user. If theIsActive
field isn’t specified, the default is true.next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot executes after playing the intent’s closing response.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty intent_closing_setting_property = lex.CfnBot.IntentClosingSettingProperty( closing_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), is_active=False, next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) )
Attributes
- closing_response
The response that Amazon Lex sends to the user when the intent is complete.
- conditional
A list of conditional branches associated with the intent’s closing response.
These branches are executed when the
nextStep
attribute is set toEvalutateConditional
.
- is_active
Specifies whether an intent’s closing response is used.
When this field is false, the closing response isn’t sent to the user. If the
IsActive
field isn’t specified, the default is true.
- next_step
Specifies the next step that the bot executes after playing the intent’s closing response.
IntentConfirmationSettingProperty
- class CfnBot.IntentConfirmationSettingProperty(*, prompt_specification, code_hook=None, confirmation_conditional=None, confirmation_next_step=None, confirmation_response=None, declination_conditional=None, declination_next_step=None, declination_response=None, elicitation_code_hook=None, failure_conditional=None, failure_next_step=None, failure_response=None, is_active=None)
Bases:
object
Provides a prompt for making sure that the user is ready for the intent to be fulfilled.
- Parameters:
prompt_specification (
Union
[IResolvable
,PromptSpecificationProperty
,Dict
[str
,Any
]]) – Prompts the user to confirm the intent. This question should have a yes or no answer. Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with theOrderPizza
intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information.code_hook (
Union
[IResolvable
,DialogCodeHookInvocationSettingProperty
,Dict
[str
,Any
],None
]) – TheDialogCodeHookInvocationSetting
object associated with intent’s confirmation step. The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step isInvokeDialogCodeHook
.confirmation_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the intent is closed.confirmation_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot executes when the customer confirms the intent.confirmation_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input.declination_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the intent is declined.declination_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot executes when the customer declines the intent.declination_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – When the user answers “no” to the question defined inpromptSpecification
, Amazon Lex responds with this response to acknowledge that the intent was canceled.elicitation_code_hook (
Union
[IResolvable
,ElicitationCodeHookInvocationSettingProperty
,Dict
[str
,Any
],None
]) – TheDialogCodeHookInvocationSetting
used when the code hook is invoked during confirmation prompt retries.failure_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – Provides a list of conditional branches. Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.failure_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – The next step to take in the conversation if the confirmation step fails.failure_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input when the intent confirmation fails.is_active (
Union
[bool
,IResolvable
,None
]) – Specifies whether the intent’s confirmation is sent to the user. When this field is false, confirmation and declination responses aren’t sent. If theIsActive
field isn’t specified, the default is true.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty intent_confirmation_setting_property = lex.CfnBot.IntentConfirmationSettingProperty( prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), # the properties below are optional code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), confirmation_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), confirmation_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), confirmation_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), declination_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), declination_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), declination_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), is_active=False )
Attributes
- code_hook
The
DialogCodeHookInvocationSetting
object associated with intent’s confirmation step.The dialog code hook is triggered based on these invocation settings when the confirmation next step or declination next step or failure next step is
InvokeDialogCodeHook
.
- confirmation_conditional
A list of conditional branches to evaluate after the intent is closed.
- confirmation_next_step
Specifies the next step that the bot executes when the customer confirms the intent.
- confirmation_response
Specifies a list of message groups that Amazon Lex uses to respond the user input.
- declination_conditional
A list of conditional branches to evaluate after the intent is declined.
- declination_next_step
Specifies the next step that the bot executes when the customer declines the intent.
- declination_response
When the user answers “no” to the question defined in
promptSpecification
, Amazon Lex responds with this response to acknowledge that the intent was canceled.
- elicitation_code_hook
The
DialogCodeHookInvocationSetting
used when the code hook is invoked during confirmation prompt retries.
- failure_conditional
Provides a list of conditional branches.
Branches are evaluated in the order that they are entered in the list. The first branch with a condition that evaluates to true is executed. The last branch in the list is the default branch. The default branch should not have any condition expression. The default branch is executed if no other branch has a matching condition.
- failure_next_step
The next step to take in the conversation if the confirmation step fails.
- failure_response
Specifies a list of message groups that Amazon Lex uses to respond the user input when the intent confirmation fails.
- is_active
Specifies whether the intent’s confirmation is sent to the user.
When this field is false, confirmation and declination responses aren’t sent. If the
IsActive
field isn’t specified, the default is true.
- prompt_specification
Prompts the user to confirm the intent. This question should have a yes or no answer.
Amazon Lex uses this prompt to ensure that the user acknowledges that the intent is ready for fulfillment. For example, with the
OrderPizza
intent, you might want to confirm that the order is correct before placing it. For other intents, such as intents that simply respond to user questions, you might not need to ask the user for confirmation before providing the information.
IntentOverrideProperty
- class CfnBot.IntentOverrideProperty(*, name=None, slots=None)
Bases:
object
Override settings to configure the intent state.
- Parameters:
name (
Optional
[str
]) – The name of the intent. Only required when you’re switching intents.slots (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotValueOverrideMapProperty
,Dict
[str
,Any
]]],None
]) – A map of all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren’t overridden.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty intent_override_property = lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] )
Attributes
- name
The name of the intent.
Only required when you’re switching intents.
- slots
A map of all of the slot value overrides for the intent.
The name of the slot maps to the value of the slot. Slots that are not included in the map aren’t overridden.
IntentProperty
- class CfnBot.IntentProperty(*, name, description=None, dialog_code_hook=None, fulfillment_code_hook=None, initial_response_setting=None, input_contexts=None, intent_closing_setting=None, intent_confirmation_setting=None, kendra_configuration=None, output_contexts=None, parent_intent_signature=None, sample_utterances=None, slot_priorities=None, slots=None)
Bases:
object
Represents an action that the user wants to perform.
- Parameters:
name (
str
) – The name of the intent. Intent names must be unique within the locale that contains the intent and can’t match the name of any built-in intent.description (
Optional
[str
]) – A description of the intent. Use the description to help identify the intent in lists.dialog_code_hook (
Union
[IResolvable
,DialogCodeHookSettingProperty
,Dict
[str
,Any
],None
]) – Specifies that Amazon Lex invokes the alias Lambda function for each user input. You can invoke this Lambda function to personalize user interaction.fulfillment_code_hook (
Union
[IResolvable
,FulfillmentCodeHookSettingProperty
,Dict
[str
,Any
],None
]) – Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment. You can invoke this function to complete the bot’s transaction with the user.initial_response_setting (
Union
[IResolvable
,InitialResponseSettingProperty
,Dict
[str
,Any
],None
]) – Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.input_contexts (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,InputContextProperty
,Dict
[str
,Any
]]],None
]) – A list of contexts that must be active for this intent to be considered by Amazon Lex .intent_closing_setting (
Union
[IResolvable
,IntentClosingSettingProperty
,Dict
[str
,Any
],None
]) – Sets the response that Amazon Lex sends to the user when the intent is closed.intent_confirmation_setting (
Union
[IResolvable
,IntentConfirmationSettingProperty
,Dict
[str
,Any
],None
]) – Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent. If the user answers “no,” the settings contain a statement that is sent to the user to end the intent.kendra_configuration (
Union
[IResolvable
,KendraConfigurationProperty
,Dict
[str
,Any
],None
]) – Provides configuration information for theAMAZON.KendraSearchIntent
intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user’s utterance.output_contexts (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,OutputContextProperty
,Dict
[str
,Any
]]],None
]) – A list of contexts that the intent activates when it is fulfilled.parent_intent_signature (
Optional
[str
]) – A unique identifier for the built-in intent to base this intent on.sample_utterances (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SampleUtteranceProperty
,Dict
[str
,Any
]]],None
]) – A list of utterances that a user might say to signal the intent.slot_priorities (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotPriorityProperty
,Dict
[str
,Any
]]],None
]) – Indicates the priority for slots. Amazon Lex prompts the user for slot values in priority order.slots (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotProperty
,Dict
[str
,Any
]]],None
]) – A list of slots that the intent requires for fulfillment.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-intent.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty intent_property = lex.CfnBot.IntentProperty( name="name", # the properties below are optional description="description", dialog_code_hook=lex.CfnBot.DialogCodeHookSettingProperty( enabled=False ), fulfillment_code_hook=lex.CfnBot.FulfillmentCodeHookSettingProperty( enabled=False, # the properties below are optional fulfillment_updates_specification=lex.CfnBot.FulfillmentUpdatesSpecificationProperty( active=False, # the properties below are optional start_response=lex.CfnBot.FulfillmentStartResponseSpecificationProperty( delay_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_in_seconds=123, update_response=lex.CfnBot.FulfillmentUpdateResponseSpecificationProperty( frequency_in_seconds=123, message_groups=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False, post_fulfillment_status_specification=lex.CfnBot.PostFulfillmentStatusSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ) ), initial_response_setting=lex.CfnBot.InitialResponseSettingProperty( code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), initial_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), input_contexts=[lex.CfnBot.InputContextProperty( name="name" )], intent_closing_setting=lex.CfnBot.IntentClosingSettingProperty( closing_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), is_active=False, next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ) ), intent_confirmation_setting=lex.CfnBot.IntentConfirmationSettingProperty( prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), # the properties below are optional code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), confirmation_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), confirmation_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), confirmation_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), declination_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), declination_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), declination_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), is_active=False ), kendra_configuration=lex.CfnBot.KendraConfigurationProperty( kendra_index="kendraIndex", # the properties below are optional query_filter_string="queryFilterString", query_filter_string_enabled=False ), output_contexts=[lex.CfnBot.OutputContextProperty( name="name", time_to_live_in_seconds=123, turns_to_live=123 )], parent_intent_signature="parentIntentSignature", sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_priorities=[lex.CfnBot.SlotPriorityProperty( priority=123, slot_name="slotName" )], slots=[lex.CfnBot.SlotProperty( name="name", slot_type_name="slotTypeName", value_elicitation_setting=lex.CfnBot.SlotValueElicitationSettingProperty( slot_constraint="slotConstraint", # the properties below are optional default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] ), prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_capture_setting=lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) ) ), # the properties below are optional description="description", multiple_values_setting=lex.CfnBot.MultipleValuesSettingProperty( allow_multiple_values=False ), obfuscation_setting=lex.CfnBot.ObfuscationSettingProperty( obfuscation_setting_type="obfuscationSettingType" ) )] )
Attributes
- description
A description of the intent.
Use the description to help identify the intent in lists.
- dialog_code_hook
Specifies that Amazon Lex invokes the alias Lambda function for each user input.
You can invoke this Lambda function to personalize user interaction.
- fulfillment_code_hook
Specifies that Amazon Lex invokes the alias Lambda function when the intent is ready for fulfillment.
You can invoke this function to complete the bot’s transaction with the user.
- initial_response_setting
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
- input_contexts
A list of contexts that must be active for this intent to be considered by Amazon Lex .
- intent_closing_setting
Sets the response that Amazon Lex sends to the user when the intent is closed.
- intent_confirmation_setting
Provides prompts that Amazon Lex sends to the user to confirm the completion of an intent.
If the user answers “no,” the settings contain a statement that is sent to the user to end the intent.
- kendra_configuration
Provides configuration information for the
AMAZON.KendraSearchIntent
intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user’s utterance.
- name
The name of the intent.
Intent names must be unique within the locale that contains the intent and can’t match the name of any built-in intent.
- output_contexts
A list of contexts that the intent activates when it is fulfilled.
- parent_intent_signature
A unique identifier for the built-in intent to base this intent on.
- sample_utterances
A list of utterances that a user might say to signal the intent.
- slot_priorities
Indicates the priority for slots.
Amazon Lex prompts the user for slot values in priority order.
- slots
A list of slots that the intent requires for fulfillment.
KendraConfigurationProperty
- class CfnBot.KendraConfigurationProperty(*, kendra_index, query_filter_string=None, query_filter_string_enabled=None)
Bases:
object
Provides configuration information for the
AMAZON.KendraSearchIntent
intent. When you use this intent, Amazon Lex searches the specified Amazon Kendra index and returns documents from the index that match the user’s utterance.- Parameters:
kendra_index (
str
) – The Amazon Resource Name (ARN) of the Amazon Kendra index that you want theAMAZON.KendraSearchIntent
intent to search. The index must be in the same account and Region as the Amazon Lex bot.query_filter_string (
Optional
[str
]) – A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query. The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries .query_filter_string_enabled (
Union
[bool
,IResolvable
,None
]) – Determines whether theAMAZON.KendraSearchIntent
intent uses a custom query string to query the Amazon Kendra index.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex kendra_configuration_property = lex.CfnBot.KendraConfigurationProperty( kendra_index="kendraIndex", # the properties below are optional query_filter_string="queryFilterString", query_filter_string_enabled=False )
Attributes
- kendra_index
The Amazon Resource Name (ARN) of the Amazon Kendra index that you want the
AMAZON.KendraSearchIntent
intent to search. The index must be in the same account and Region as the Amazon Lex bot.
- query_filter_string
A query filter that Amazon Lex sends to Amazon Kendra to filter the response from a query.
The filter is in the format defined by Amazon Kendra. For more information, see Filtering queries .
- query_filter_string_enabled
Determines whether the
AMAZON.KendraSearchIntent
intent uses a custom query string to query the Amazon Kendra index.
LambdaCodeHookProperty
- class CfnBot.LambdaCodeHookProperty(*, code_hook_interface_version, lambda_arn)
Bases:
object
Specifies a Lambda function that verifies requests to a bot or fulfills the user’s request to a bot.
- Parameters:
code_hook_interface_version (
str
) – The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.lambda_arn (
str
) – The Amazon Resource Name (ARN) of the Lambda function.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex lambda_code_hook_property = lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" )
Attributes
- code_hook_interface_version
The version of the request-response that you want Amazon Lex to use to invoke your Lambda function.
- lambda_arn
The Amazon Resource Name (ARN) of the Lambda function.
MessageGroupProperty
- class CfnBot.MessageGroupProperty(*, message, variations=None)
Bases:
object
Provides one or more messages that Amazon Lex should send to the user.
- Parameters:
message (
Union
[IResolvable
,MessageProperty
,Dict
[str
,Any
]]) – The primary message that Amazon Lex should send to the user.variations (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageProperty
,Dict
[str
,Any
]]],None
]) – Message variations to send to the user. When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex message_group_property = lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )
Attributes
- message
The primary message that Amazon Lex should send to the user.
- variations
Message variations to send to the user.
When variations are defined, Amazon Lex chooses the primary message or one of the variations to send to the user.
MessageProperty
- class CfnBot.MessageProperty(*, custom_payload=None, image_response_card=None, plain_text_message=None, ssml_message=None)
Bases:
object
The object that provides message text and its type.
- Parameters:
custom_payload (
Union
[IResolvable
,CustomPayloadProperty
,Dict
[str
,Any
],None
]) – A message in a custom format defined by the client application.image_response_card (
Union
[IResolvable
,ImageResponseCardProperty
,Dict
[str
,Any
],None
]) – A message that defines a response card that the client application can show to the user.plain_text_message (
Union
[IResolvable
,PlainTextMessageProperty
,Dict
[str
,Any
],None
]) – A message in plain text format.ssml_message (
Union
[IResolvable
,SSMLMessageProperty
,Dict
[str
,Any
],None
]) – A message in Speech Synthesis Markup Language (SSML).
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-message.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex message_property = lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )
Attributes
- custom_payload
A message in a custom format defined by the client application.
- image_response_card
A message that defines a response card that the client application can show to the user.
- plain_text_message
A message in plain text format.
- ssml_message
A message in Speech Synthesis Markup Language (SSML).
MultipleValuesSettingProperty
- class CfnBot.MultipleValuesSettingProperty(*, allow_multiple_values=None)
Bases:
object
Indicates whether a slot can return multiple values.
- Parameters:
allow_multiple_values (
Union
[bool
,IResolvable
,None
]) – Indicates whether a slot can return multiple values. Whentrue
, the slot may return more than one value in a response. Whenfalse
, the slot returns only a single value. Multi-value slots are only available in the en-US locale. If you set this value totrue
in any other locale, Amazon Lex throws aValidationException
. If theallowMutlipleValues
is not set, the default value isfalse
.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex multiple_values_setting_property = lex.CfnBot.MultipleValuesSettingProperty( allow_multiple_values=False )
Attributes
- allow_multiple_values
Indicates whether a slot can return multiple values.
When
true
, the slot may return more than one value in a response. Whenfalse
, the slot returns only a single value.Multi-value slots are only available in the en-US locale. If you set this value to
true
in any other locale, Amazon Lex throws aValidationException
.If the
allowMutlipleValues
is not set, the default value isfalse
.
ObfuscationSettingProperty
- class CfnBot.ObfuscationSettingProperty(*, obfuscation_setting_type)
Bases:
object
Determines whether Amazon Lex obscures slot values in conversation logs.
- Parameters:
obfuscation_setting_type (
str
) – Value that determines whether Amazon Lex obscures slot values in conversation logs. The default is to obscure the values.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex obfuscation_setting_property = lex.CfnBot.ObfuscationSettingProperty( obfuscation_setting_type="obfuscationSettingType" )
Attributes
- obfuscation_setting_type
Value that determines whether Amazon Lex obscures slot values in conversation logs.
The default is to obscure the values.
OutputContextProperty
- class CfnBot.OutputContextProperty(*, name, time_to_live_in_seconds, turns_to_live)
Bases:
object
Describes a session context that is activated when an intent is fulfilled.
- Parameters:
name (
str
) – The name of the output context.time_to_live_in_seconds (
Union
[int
,float
]) – The amount of time, in seconds, that the output context should remain active. The time is figured from the first time the context is sent to the user.turns_to_live (
Union
[int
,float
]) – The number of conversation turns that the output context should remain active. The number of turns is counted from the first time that the context is sent to the user.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex output_context_property = lex.CfnBot.OutputContextProperty( name="name", time_to_live_in_seconds=123, turns_to_live=123 )
Attributes
- name
The name of the output context.
- time_to_live_in_seconds
The amount of time, in seconds, that the output context should remain active.
The time is figured from the first time the context is sent to the user.
- turns_to_live
The number of conversation turns that the output context should remain active.
The number of turns is counted from the first time that the context is sent to the user.
PlainTextMessageProperty
- class CfnBot.PlainTextMessageProperty(*, value)
Bases:
object
Defines an ASCII text message to send to the user.
- Parameters:
value (
str
) – The message to send to the user.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex plain_text_message_property = lex.CfnBot.PlainTextMessageProperty( value="value" )
Attributes
- value
The message to send to the user.
PostDialogCodeHookInvocationSpecificationProperty
- class CfnBot.PostDialogCodeHookInvocationSpecificationProperty(*, failure_conditional=None, failure_next_step=None, failure_response=None, success_conditional=None, success_next_step=None, success_response=None, timeout_conditional=None, timeout_next_step=None, timeout_response=None)
Bases:
object
Specifies next steps to run after the dialog code hook finishes.
- Parameters:
failure_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failure_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step the bot runs after the dialog code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failure_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.success_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the dialog code hook finishes successfully.success_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifics the next step the bot runs after the dialog code hook finishes successfully.success_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.timeout_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate if the code hook times out.timeout_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot runs when the code hook times out.timeout_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty post_dialog_code_hook_invocation_specification_property = lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- failure_conditional
A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.
- failure_next_step
Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.
- failure_response
Specifies a list of message groups that Amazon Lex uses to respond the user input when the code hook fails.
- success_conditional
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
- success_next_step
Specifics the next step the bot runs after the dialog code hook finishes successfully.
- success_response
Specifies a list of message groups that Amazon Lex uses to respond when the code hook succeeds.
- timeout_conditional
A list of conditional branches to evaluate if the code hook times out.
- timeout_next_step
Specifies the next step that the bot runs when the code hook times out.
- timeout_response
Specifies a list of message groups that Amazon Lex uses to respond to the user input when the code hook times out.
PostFulfillmentStatusSpecificationProperty
- class CfnBot.PostFulfillmentStatusSpecificationProperty(*, failure_conditional=None, failure_next_step=None, failure_response=None, success_conditional=None, success_next_step=None, success_response=None, timeout_conditional=None, timeout_next_step=None, timeout_response=None)
Bases:
object
Provides a setting that determines whether the post-fulfillment response is sent to the user.
For more information, see ` <https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete>`_
- Parameters:
failure_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failure_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with theState
field of theIntent
object set toFailed
.failure_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn’t successful.success_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.success_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.success_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.timeout_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate if the fulfillment code hook times out.timeout_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot runs when the fulfillment code hook times out.timeout_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn’t completed within the timeout period.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty post_fulfillment_status_specification_property = lex.CfnBot.PostFulfillmentStatusSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- failure_conditional
A list of conditional branches to evaluate after the fulfillment code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.
- failure_next_step
Specifies the next step the bot runs after the fulfillment code hook throws an exception or returns with the
State
field of theIntent
object set toFailed
.
- failure_response
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn’t successful.
- success_conditional
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
- success_next_step
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
- success_response
Specifies a list of message groups that Amazon Lex uses to respond when the fulfillment is successful.
- timeout_conditional
A list of conditional branches to evaluate if the fulfillment code hook times out.
- timeout_next_step
Specifies the next step that the bot runs when the fulfillment code hook times out.
- timeout_response
Specifies a list of message groups that Amazon Lex uses to respond when fulfillment isn’t completed within the timeout period.
PromptAttemptSpecificationProperty
- class CfnBot.PromptAttemptSpecificationProperty(*, allowed_input_types, allow_interrupt=None, audio_and_dtmf_input_specification=None, text_input_specification=None)
Bases:
object
Specifies the settings on a prompt attempt.
- Parameters:
allowed_input_types (
Union
[IResolvable
,AllowedInputTypesProperty
,Dict
[str
,Any
]]) – Indicates the allowed input types of the prompt attempt.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Indicates whether the user can interrupt a speech prompt attempt from the bot.audio_and_dtmf_input_specification (
Union
[IResolvable
,AudioAndDTMFInputSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the settings on audio and DTMF input.text_input_specification (
Union
[IResolvable
,TextInputSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the settings on text input.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex prompt_attempt_specification_property = lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) )
Attributes
- allow_interrupt
Indicates whether the user can interrupt a speech prompt attempt from the bot.
- allowed_input_types
Indicates the allowed input types of the prompt attempt.
- audio_and_dtmf_input_specification
Specifies the settings on audio and DTMF input.
- text_input_specification
Specifies the settings on text input.
PromptSpecificationProperty
- class CfnBot.PromptSpecificationProperty(*, max_retries, message_groups_list, allow_interrupt=None, message_selection_strategy=None, prompt_attempts_specification=None)
Bases:
object
Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.
- Parameters:
max_retries (
Union
[int
,float
]) – The maximum number of times the bot tries to elicit a response from the user using this prompt.message_groups_list (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageGroupProperty
,Dict
[str
,Any
]]]]) – A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Indicates whether the user can interrupt a speech prompt from the bot.message_selection_strategy (
Optional
[str
]) – Indicates how a message is selected from a message group among retries.prompt_attempts_specification (
Union
[IResolvable
,Mapping
[str
,Union
[IResolvable
,PromptAttemptSpecificationProperty
,Dict
[str
,Any
]]],None
]) – Specifies the advanced settings on each attempt of the prompt.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex prompt_specification_property = lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } )
Attributes
- allow_interrupt
Indicates whether the user can interrupt a speech prompt from the bot.
- max_retries
The maximum number of times the bot tries to elicit a response from the user using this prompt.
- message_groups_list
A collection of messages that Amazon Lex can send to the user.
Amazon Lex chooses the actual message to send at runtime.
- message_selection_strategy
Indicates how a message is selected from a message group among retries.
- prompt_attempts_specification
Specifies the advanced settings on each attempt of the prompt.
ResponseSpecificationProperty
- class CfnBot.ResponseSpecificationProperty(*, message_groups_list, allow_interrupt=None)
Bases:
object
Specifies a list of message groups that Amazon Lex uses to respond the user input.
- Parameters:
message_groups_list (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageGroupProperty
,Dict
[str
,Any
]]]]) – A collection of responses that Amazon Lex can send to the user. Amazon Lex chooses the actual response to send at runtime.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Indicates whether the user can interrupt a speech response from Amazon Lex.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex response_specification_property = lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False )
Attributes
- allow_interrupt
Indicates whether the user can interrupt a speech response from Amazon Lex.
- message_groups_list
A collection of responses that Amazon Lex can send to the user.
Amazon Lex chooses the actual response to send at runtime.
S3BucketLogDestinationProperty
- class CfnBot.S3BucketLogDestinationProperty(*, log_prefix, s3_bucket_arn, kms_key_arn=None)
Bases:
object
Specifies an Amazon S3 bucket for logging audio conversations.
- Parameters:
log_prefix (
str
) – The S3 prefix to assign to audio log files.s3_bucket_arn (
str
) – The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.kms_key_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex s3_bucket_log_destination_property = lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" )
Attributes
- kms_key_arn
The Amazon Resource Name (ARN) of an AWS Key Management Service (KMS) key for encrypting audio log files stored in an Amazon S3 bucket.
- log_prefix
The S3 prefix to assign to audio log files.
- s3_bucket_arn
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
S3LocationProperty
- class CfnBot.S3LocationProperty(*, s3_bucket, s3_object_key, s3_object_version=None)
Bases:
object
Defines an Amazon S3 bucket location.
- Parameters:
s3_bucket (
str
) – The S3 bucket name.s3_object_key (
str
) – The path and file name to the object in the S3 bucket.s3_object_version (
Optional
[str
]) – The version of the object in the S3 bucket.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-s3location.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex s3_location_property = lex.CfnBot.S3LocationProperty( s3_bucket="s3Bucket", s3_object_key="s3ObjectKey", # the properties below are optional s3_object_version="s3ObjectVersion" )
Attributes
- s3_bucket
The S3 bucket name.
- s3_object_key
The path and file name to the object in the S3 bucket.
- s3_object_version
The version of the object in the S3 bucket.
SSMLMessageProperty
- class CfnBot.SSMLMessageProperty(*, value)
Bases:
object
Defines a Speech Synthesis Markup Language (SSML) prompt.
- Parameters:
value (
str
) – The SSML text that defines the prompt.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex s_sMLMessage_property = lex.CfnBot.SSMLMessageProperty( value="value" )
Attributes
- value
The SSML text that defines the prompt.
SampleUtteranceProperty
- class CfnBot.SampleUtteranceProperty(*, utterance)
Bases:
object
A sample utterance that invokes an intent or respond to a slot elicitation prompt.
- Parameters:
utterance (
str
) – A sample utterance that invokes an intent or respond to a slot elicitation prompt.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex sample_utterance_property = lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )
Attributes
- utterance
A sample utterance that invokes an intent or respond to a slot elicitation prompt.
SampleValueProperty
- class CfnBot.SampleValueProperty(*, value)
Bases:
object
Defines one of the values for a slot type.
- Parameters:
value (
str
) – The value that can be used for a slot type.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex sample_value_property = lex.CfnBot.SampleValueProperty( value="value" )
Attributes
- value
The value that can be used for a slot type.
SentimentAnalysisSettingsProperty
- class CfnBot.SentimentAnalysisSettingsProperty(*, detect_sentiment)
Bases:
object
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- Parameters:
detect_sentiment (
Union
[bool
,IResolvable
]) – Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex sentiment_analysis_settings_property = lex.CfnBot.SentimentAnalysisSettingsProperty( detect_sentiment=False )
Attributes
- detect_sentiment
Sets whether Amazon Lex uses Amazon Comprehend to detect the sentiment of user utterances.
SessionAttributeProperty
- class CfnBot.SessionAttributeProperty(*, key, value=None)
Bases:
object
A key/value pair representing session-specific context information.
It contains application information passed between Amazon Lex V2 and a client application.
- Parameters:
key (
str
) – The name of the session attribute.value (
Optional
[str
]) – The session-specific context information for the session attribute.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex session_attribute_property = lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )
Attributes
- key
The name of the session attribute.
- value
The session-specific context information for the session attribute.
SlotCaptureSettingProperty
- class CfnBot.SlotCaptureSettingProperty(*, capture_conditional=None, capture_next_step=None, capture_response=None, code_hook=None, elicitation_code_hook=None, failure_conditional=None, failure_next_step=None, failure_response=None)
Bases:
object
Settings used when Amazon Lex successfully captures a slot value from a user.
- Parameters:
capture_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate after the slot value is captured.capture_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot runs when the slot value is captured before the code hook times out.capture_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input.code_hook (
Union
[IResolvable
,DialogCodeHookInvocationSettingProperty
,Dict
[str
,Any
],None
]) – Code hook called after Amazon Lex successfully captures a slot value.elicitation_code_hook (
Union
[IResolvable
,ElicitationCodeHookInvocationSettingProperty
,Dict
[str
,Any
],None
]) – Code hook called when Amazon Lex doesn’t capture a slot value.failure_conditional (
Union
[IResolvable
,ConditionalSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of conditional branches to evaluate when the slot value isn’t captured.failure_next_step (
Union
[IResolvable
,DialogStateProperty
,Dict
[str
,Any
],None
]) – Specifies the next step that the bot runs when the slot value code is not recognized.failure_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty slot_capture_setting_property = lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )
Attributes
- capture_conditional
A list of conditional branches to evaluate after the slot value is captured.
- capture_next_step
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
- capture_response
Specifies a list of message groups that Amazon Lex uses to respond the user input.
- code_hook
Code hook called after Amazon Lex successfully captures a slot value.
- elicitation_code_hook
Code hook called when Amazon Lex doesn’t capture a slot value.
- failure_conditional
A list of conditional branches to evaluate when the slot value isn’t captured.
- failure_next_step
Specifies the next step that the bot runs when the slot value code is not recognized.
- failure_response
Specifies a list of message groups that Amazon Lex uses to respond the user input when the slot fails to be captured.
SlotDefaultValueProperty
- class CfnBot.SlotDefaultValueProperty(*, default_value)
Bases:
object
Specifies the default value to use when a user doesn’t provide a value for a slot.
- Parameters:
default_value (
str
) – The default value to use when a user doesn’t provide a value for a slot.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_default_value_property = lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )
Attributes
- default_value
The default value to use when a user doesn’t provide a value for a slot.
SlotDefaultValueSpecificationProperty
- class CfnBot.SlotDefaultValueSpecificationProperty(*, default_value_list)
Bases:
object
The default value to use when a user doesn’t provide a value for a slot.
- Parameters:
default_value_list (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotDefaultValueProperty
,Dict
[str
,Any
]]]]) – A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_default_value_specification_property = lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] )
Attributes
- default_value_list
A list of default values.
Amazon Lex chooses the default value to use in the order that they are presented in the list.
SlotPriorityProperty
- class CfnBot.SlotPriorityProperty(*, priority, slot_name)
Bases:
object
Sets the priority that Amazon Lex should use when eliciting slot values from a user.
- Parameters:
priority (
Union
[int
,float
]) – The priority that Amazon Lex should apply to the slot.slot_name (
str
) – The name of the slot.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_priority_property = lex.CfnBot.SlotPriorityProperty( priority=123, slot_name="slotName" )
Attributes
- priority
The priority that Amazon Lex should apply to the slot.
- slot_name
The name of the slot.
SlotProperty
- class CfnBot.SlotProperty(*, name, slot_type_name, value_elicitation_setting, description=None, multiple_values_setting=None, obfuscation_setting=None)
Bases:
object
Specifies the definition of a slot.
Amazon Lex elicits slot values from uses to fulfill the user’s intent.
- Parameters:
name (
str
) – The name given to the slot.slot_type_name (
str
) – The name of the slot type that this slot is based on. The slot type defines the acceptable values for the slot.value_elicitation_setting (
Union
[IResolvable
,SlotValueElicitationSettingProperty
,Dict
[str
,Any
]]) – Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: - ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to a slot value. - TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don’t specify thevalueSelectionStrategy
, the default isORIGINAL_VALUE
.description (
Optional
[str
]) – The description of the slot.multiple_values_setting (
Union
[IResolvable
,MultipleValuesSettingProperty
,Dict
[str
,Any
],None
]) – Indicates whether a slot can return multiple values.obfuscation_setting (
Union
[IResolvable
,ObfuscationSettingProperty
,Dict
[str
,Any
],None
]) – Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs. Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slot.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty slot_property = lex.CfnBot.SlotProperty( name="name", slot_type_name="slotTypeName", value_elicitation_setting=lex.CfnBot.SlotValueElicitationSettingProperty( slot_constraint="slotConstraint", # the properties below are optional default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] ), prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_capture_setting=lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) ) ), # the properties below are optional description="description", multiple_values_setting=lex.CfnBot.MultipleValuesSettingProperty( allow_multiple_values=False ), obfuscation_setting=lex.CfnBot.ObfuscationSettingProperty( obfuscation_setting_type="obfuscationSettingType" ) )
Attributes
- description
The description of the slot.
- multiple_values_setting
Indicates whether a slot can return multiple values.
- name
The name given to the slot.
- obfuscation_setting
Determines whether the contents of the slot are obfuscated in Amazon CloudWatch Logs logs.
Use obfuscated slots to protect information such as personally identifiable information (PII) in logs.
- slot_type_name
The name of the slot type that this slot is based on.
The slot type defines the acceptable values for the slot.
- value_elicitation_setting
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
The field can be set to one of the following values:
ORIGINAL_VALUE - Returns the value entered by the user, if the user value is similar to a slot value.
TOP_RESOLUTION - If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don’t specify the
valueSelectionStrategy
, the default isORIGINAL_VALUE
.
SlotTypeProperty
- class CfnBot.SlotTypeProperty(*, name, description=None, external_source_setting=None, parent_slot_type_signature=None, slot_type_values=None, value_selection_setting=None)
Bases:
object
Describes a slot type.
- Parameters:
name (
str
) – The name of the slot type. A slot type name must be unique withing the account.description (
Optional
[str
]) – A description of the slot type. Use the description to help identify the slot type in lists.external_source_setting (
Union
[IResolvable
,ExternalSourceSettingProperty
,Dict
[str
,Any
],None
]) – Sets the type of external information used to create the slot type.parent_slot_type_signature (
Optional
[str
]) – The built-in slot type used as a parent of this slot type. When you define a parent slot type, the new slot type has the configuration of the parent lot type. OnlyAMAZON.AlphaNumeric
is supported.slot_type_values (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotTypeValueProperty
,Dict
[str
,Any
]]],None
]) – A list of SlotTypeValue objects that defines the values that the slot type can take. Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot.value_selection_setting (
Union
[IResolvable
,SlotValueSelectionSettingProperty
,Dict
[str
,Any
],None
]) – Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: -ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value. -TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don’t specify thevalueSelectionStrategy
, the default isORIGINAL_VALUE
.
- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slottype.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_type_property = lex.CfnBot.SlotTypeProperty( name="name", # the properties below are optional description="description", external_source_setting=lex.CfnBot.ExternalSourceSettingProperty( grammar_slot_type_setting=lex.CfnBot.GrammarSlotTypeSettingProperty( source=lex.CfnBot.GrammarSlotTypeSourceProperty( s3_bucket_name="s3BucketName", s3_object_key="s3ObjectKey", # the properties below are optional kms_key_arn="kmsKeyArn" ) ) ), parent_slot_type_signature="parentSlotTypeSignature", slot_type_values=[lex.CfnBot.SlotTypeValueProperty( sample_value=lex.CfnBot.SampleValueProperty( value="value" ), # the properties below are optional synonyms=[lex.CfnBot.SampleValueProperty( value="value" )] )], value_selection_setting=lex.CfnBot.SlotValueSelectionSettingProperty( resolution_strategy="resolutionStrategy", # the properties below are optional advanced_recognition_setting=lex.CfnBot.AdvancedRecognitionSettingProperty( audio_recognition_strategy="audioRecognitionStrategy" ), regex_filter=lex.CfnBot.SlotValueRegexFilterProperty( pattern="pattern" ) ) )
Attributes
- description
A description of the slot type.
Use the description to help identify the slot type in lists.
- external_source_setting
Sets the type of external information used to create the slot type.
- name
The name of the slot type.
A slot type name must be unique withing the account.
- parent_slot_type_signature
The built-in slot type used as a parent of this slot type.
When you define a parent slot type, the new slot type has the configuration of the parent lot type.
Only
AMAZON.AlphaNumeric
is supported.
- slot_type_values
A list of SlotTypeValue objects that defines the values that the slot type can take.
Each value can have a list of synonyms, additional values that help train the machine learning model about the values that it resolves for the slot.
- value_selection_setting
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
The field can be set to one of the following values:
ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value.TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don’t specify the
valueSelectionStrategy
, the default isORIGINAL_VALUE
.
SlotTypeValueProperty
- class CfnBot.SlotTypeValueProperty(*, sample_value, synonyms=None)
Bases:
object
Each slot type can have a set of values.
Each
SlotTypeValue
represents a value that the slot type can take.- Parameters:
sample_value (
Union
[IResolvable
,SampleValueProperty
,Dict
[str
,Any
]]) – The value of the slot type entry.synonyms (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SampleValueProperty
,Dict
[str
,Any
]]],None
]) – Additional values related to the slot type entry.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_type_value_property = lex.CfnBot.SlotTypeValueProperty( sample_value=lex.CfnBot.SampleValueProperty( value="value" ), # the properties below are optional synonyms=[lex.CfnBot.SampleValueProperty( value="value" )] )
Attributes
- sample_value
The value of the slot type entry.
- synonyms
Additional values related to the slot type entry.
SlotValueElicitationSettingProperty
- class CfnBot.SlotValueElicitationSettingProperty(*, slot_constraint, default_value_specification=None, prompt_specification=None, sample_utterances=None, slot_capture_setting=None, wait_and_continue_specification=None)
Bases:
object
Specifies the elicitation setting details eliciting a slot.
- Parameters:
slot_constraint (
str
) – Specifies whether the slot is required or optional.default_value_specification (
Union
[IResolvable
,SlotDefaultValueSpecificationProperty
,Dict
[str
,Any
],None
]) – A list of default values for a slot. Default values are used when Amazon Lex hasn’t determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.prompt_specification (
Union
[IResolvable
,PromptSpecificationProperty
,Dict
[str
,Any
],None
]) – The prompt that Amazon Lex uses to elicit the slot value from the user.sample_utterances (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SampleUtteranceProperty
,Dict
[str
,Any
]]],None
]) – If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.slot_capture_setting (
Union
[IResolvable
,SlotCaptureSettingProperty
,Dict
[str
,Any
],None
]) – Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.wait_and_continue_specification (
Union
[IResolvable
,WaitAndContinueSpecificationProperty
,Dict
[str
,Any
],None
]) – Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty slot_value_elicitation_setting_property = lex.CfnBot.SlotValueElicitationSettingProperty( slot_constraint="slotConstraint", # the properties below are optional default_value_specification=lex.CfnBot.SlotDefaultValueSpecificationProperty( default_value_list=[lex.CfnBot.SlotDefaultValueProperty( default_value="defaultValue" )] ), prompt_specification=lex.CfnBot.PromptSpecificationProperty( max_retries=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False, message_selection_strategy="messageSelectionStrategy", prompt_attempts_specification={ "prompt_attempts_specification_key": lex.CfnBot.PromptAttemptSpecificationProperty( allowed_input_types=lex.CfnBot.AllowedInputTypesProperty( allow_audio_input=False, allow_dtmf_input=False ), # the properties below are optional allow_interrupt=False, audio_and_dtmf_input_specification=lex.CfnBot.AudioAndDTMFInputSpecificationProperty( start_timeout_ms=123, # the properties below are optional audio_specification=lex.CfnBot.AudioSpecificationProperty( end_timeout_ms=123, max_length_ms=123 ), dtmf_specification=lex.CfnBot.DTMFSpecificationProperty( deletion_character="deletionCharacter", end_character="endCharacter", end_timeout_ms=123, max_length=123 ) ), text_input_specification=lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 ) ) } ), sample_utterances=[lex.CfnBot.SampleUtteranceProperty( utterance="utterance" )], slot_capture_setting=lex.CfnBot.SlotCaptureSettingProperty( capture_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), capture_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), capture_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), code_hook=lex.CfnBot.DialogCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, is_active=False, post_code_hook_specification=lex.CfnBot.PostDialogCodeHookInvocationSpecificationProperty( failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), success_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), success_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), success_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), timeout_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), timeout_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), timeout_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), # the properties below are optional invocation_label="invocationLabel" ), elicitation_code_hook=lex.CfnBot.ElicitationCodeHookInvocationSettingProperty( enable_code_hook_invocation=False, # the properties below are optional invocation_label="invocationLabel" ), failure_conditional=lex.CfnBot.ConditionalSpecificationProperty( conditional_branches=[lex.CfnBot.ConditionalBranchProperty( condition=lex.CfnBot.ConditionProperty( expression_string="expressionString" ), name="name", next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), # the properties below are optional response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) )], default_branch=lex.CfnBot.DefaultConditionalBranchProperty( next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), is_active=False ), failure_next_step=lex.CfnBot.DialogStateProperty( dialog_action=lex.CfnBot.DialogActionProperty( type="type", # the properties below are optional slot_to_elicit="slotToElicit", suppress_next_message=False ), intent=lex.CfnBot.IntentOverrideProperty( name="name", slots=[lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )] ), session_attributes=[lex.CfnBot.SessionAttributeProperty( key="key", # the properties below are optional value="value" )] ), failure_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ) ), wait_and_continue_specification=lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) ) )
Attributes
- default_value_specification
A list of default values for a slot.
Default values are used when Amazon Lex hasn’t determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.
- prompt_specification
The prompt that Amazon Lex uses to elicit the slot value from the user.
- sample_utterances
If you know a specific pattern that users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy.
This is optional. In most cases, Amazon Lex is capable of understanding user utterances.
- slot_capture_setting
Specifies the settings that Amazon Lex uses when a slot value is successfully entered by a user.
- slot_constraint
Specifies whether the slot is required or optional.
- wait_and_continue_specification
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
SlotValueOverrideMapProperty
- class CfnBot.SlotValueOverrideMapProperty(*, slot_name=None, slot_value_override=None)
Bases:
object
Maps a slot name to the SlotValueOverride object.
- Parameters:
slot_name (
Optional
[str
]) – The name of the slot.slot_value_override (
Union
[IResolvable
,SlotValueOverrideProperty
,Dict
[str
,Any
],None
]) – The SlotValueOverride object to which the slot name will be mapped.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty slot_value_override_map_property = lex.CfnBot.SlotValueOverrideMapProperty( slot_name="slotName", slot_value_override=lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] ) )
Attributes
- slot_name
The name of the slot.
- slot_value_override
The SlotValueOverride object to which the slot name will be mapped.
SlotValueOverrideProperty
- class CfnBot.SlotValueOverrideProperty(*, shape=None, value=None, values=None)
Bases:
object
The slot values that Amazon Lex uses when it sets slot values in a dialog step.
- Parameters:
shape (
Optional
[str
]) – When the shape value isList
, it indicates that thevalues
field contains a list of slot values. When the value isScalar
, it indicates that thevalue
field contains a single value.value (
Union
[IResolvable
,SlotValueProperty
,Dict
[str
,Any
],None
]) – The current value of the slot.values (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SlotValueOverrideProperty
,Dict
[str
,Any
]]],None
]) – A list of one or more values that the user provided for the slot. For example, for a slot that elicits pizza toppings, the values might be “pepperoni” and “pineapple.”
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # slot_value_override_property_: lex.CfnBot.SlotValueOverrideProperty slot_value_override_property = lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[lex.CfnBot.SlotValueOverrideProperty( shape="shape", value=lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" ), values=[slot_value_override_property_] )] )
Attributes
- shape
When the shape value is
List
, it indicates that thevalues
field contains a list of slot values.When the value is
Scalar
, it indicates that thevalue
field contains a single value.
- value
The current value of the slot.
- values
A list of one or more values that the user provided for the slot.
For example, for a slot that elicits pizza toppings, the values might be “pepperoni” and “pineapple.”
SlotValueProperty
- class CfnBot.SlotValueProperty(*, interpreted_value=None)
Bases:
object
The value to set in a slot.
- Parameters:
interpreted_value (
Optional
[str
]) – The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in theresolvedValues
list.- Link:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-slotvalue.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_value_property = lex.CfnBot.SlotValueProperty( interpreted_value="interpretedValue" )
Attributes
- interpreted_value
The value that Amazon Lex determines for the slot.
The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the
resolvedValues
list.
SlotValueRegexFilterProperty
- class CfnBot.SlotValueRegexFilterProperty(*, pattern)
Bases:
object
Provides a regular expression used to validate the value of a slot.
- Parameters:
pattern (
str
) – A regular expression used to validate the value of a slot. Use a standard regular expression. Amazon Lex supports the following characters in the regular expression: - A-Z, a-z - 0-9 - Unicode characters (”u”) Represent Unicode characters with four digits, for example “u0041” or “u005A”. The following regular expression operators are not supported: - Infinite repeaters: *, +, or {x,} with no upper bound. - Wild card (.)- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_value_regex_filter_property = lex.CfnBot.SlotValueRegexFilterProperty( pattern="pattern" )
Attributes
- pattern
A regular expression used to validate the value of a slot.
Use a standard regular expression. Amazon Lex supports the following characters in the regular expression:
A-Z, a-z
0-9
Unicode characters (”u”)
Represent Unicode characters with four digits, for example “u0041” or “u005A”.
The following regular expression operators are not supported:
Infinite repeaters: *, +, or {x,} with no upper bound.
Wild card (.)
SlotValueSelectionSettingProperty
- class CfnBot.SlotValueSelectionSettingProperty(*, resolution_strategy, advanced_recognition_setting=None, regex_filter=None)
Bases:
object
Contains settings used by Amazon Lex to select a slot value.
- Parameters:
resolution_strategy (
str
) – Determines the slot resolution strategy that Amazon Lex uses to return slot type values. The field can be set to one of the following values: -ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value. -TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned. If you don’t specify thevalueSelectionStrategy
, the default isORIGINAL_VALUE
.advanced_recognition_setting (
Union
[IResolvable
,AdvancedRecognitionSettingProperty
,Dict
[str
,Any
],None
]) – Provides settings that enable advanced recognition settings for slot values. You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.regex_filter (
Union
[IResolvable
,SlotValueRegexFilterProperty
,Dict
[str
,Any
],None
]) – A regular expression used to validate the value of a slot.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex slot_value_selection_setting_property = lex.CfnBot.SlotValueSelectionSettingProperty( resolution_strategy="resolutionStrategy", # the properties below are optional advanced_recognition_setting=lex.CfnBot.AdvancedRecognitionSettingProperty( audio_recognition_strategy="audioRecognitionStrategy" ), regex_filter=lex.CfnBot.SlotValueRegexFilterProperty( pattern="pattern" ) )
Attributes
- advanced_recognition_setting
Provides settings that enable advanced recognition settings for slot values.
You can use this to enable using slot values as a custom vocabulary for recognizing user utterances.
- regex_filter
A regular expression used to validate the value of a slot.
- resolution_strategy
Determines the slot resolution strategy that Amazon Lex uses to return slot type values.
The field can be set to one of the following values:
ORIGINAL_VALUE
- Returns the value entered by the user, if the user value is similar to the slot value.TOP_RESOLUTION
- If there is a resolution list for the slot, return the first value in the resolution list as the slot type value. If there is no resolution list, null is returned.
If you don’t specify the
valueSelectionStrategy
, the default isORIGINAL_VALUE
.
StillWaitingResponseSpecificationProperty
- class CfnBot.StillWaitingResponseSpecificationProperty(*, frequency_in_seconds, message_groups_list, timeout_in_seconds, allow_interrupt=None)
Bases:
object
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
- Parameters:
frequency_in_seconds (
Union
[int
,float
]) – How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.message_groups_list (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,MessageGroupProperty
,Dict
[str
,Any
]]]]) – One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.timeout_in_seconds (
Union
[int
,float
]) – If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.allow_interrupt (
Union
[bool
,IResolvable
,None
]) – Indicates that the user can interrupt the response by speaking while the message is being played.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex still_waiting_response_specification_property = lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False )
Attributes
- allow_interrupt
Indicates that the user can interrupt the response by speaking while the message is being played.
- frequency_in_seconds
How often a message should be sent to the user.
Minimum of 1 second, maximum of 5 minutes.
- message_groups_list
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
- timeout_in_seconds
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
TestBotAliasSettingsProperty
- class CfnBot.TestBotAliasSettingsProperty(*, bot_alias_locale_settings=None, conversation_log_settings=None, description=None, sentiment_analysis_settings=None)
Bases:
object
Specifies configuration settings for the alias used to test the bot.
If the
TestBotAliasSettings
property is not specified, the settings are configured with default values.- Parameters:
bot_alias_locale_settings (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,BotAliasLocaleSettingsItemProperty
,Dict
[str
,Any
]]],None
]) – Specifies settings that are unique to a locale. For example, you can use a different Lambda function depending on the bot’s locale.conversation_log_settings (
Union
[IResolvable
,ConversationLogSettingsProperty
,Dict
[str
,Any
],None
]) – Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.description (
Optional
[str
]) – Specifies a description for the test bot alias.sentiment_analysis_settings (
Optional
[Any
]) – Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex # sentiment_analysis_settings: Any test_bot_alias_settings_property = lex.CfnBot.TestBotAliasSettingsProperty( bot_alias_locale_settings=[lex.CfnBot.BotAliasLocaleSettingsItemProperty( bot_alias_locale_setting=lex.CfnBot.BotAliasLocaleSettingsProperty( enabled=False, # the properties below are optional code_hook_specification=lex.CfnBot.CodeHookSpecificationProperty( lambda_code_hook=lex.CfnBot.LambdaCodeHookProperty( code_hook_interface_version="codeHookInterfaceVersion", lambda_arn="lambdaArn" ) ) ), locale_id="localeId" )], conversation_log_settings=lex.CfnBot.ConversationLogSettingsProperty( audio_log_settings=[lex.CfnBot.AudioLogSettingProperty( destination=lex.CfnBot.AudioLogDestinationProperty( s3_bucket=lex.CfnBot.S3BucketLogDestinationProperty( log_prefix="logPrefix", s3_bucket_arn="s3BucketArn", # the properties below are optional kms_key_arn="kmsKeyArn" ) ), enabled=False )], text_log_settings=[lex.CfnBot.TextLogSettingProperty( destination=lex.CfnBot.TextLogDestinationProperty( cloud_watch=lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) ), enabled=False )] ), description="description", sentiment_analysis_settings=sentiment_analysis_settings )
Attributes
- bot_alias_locale_settings
Specifies settings that are unique to a locale.
For example, you can use a different Lambda function depending on the bot’s locale.
- conversation_log_settings
Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.
- description
Specifies a description for the test bot alias.
- sentiment_analysis_settings
Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
TextInputSpecificationProperty
- class CfnBot.TextInputSpecificationProperty(*, start_timeout_ms)
Bases:
object
Specifies the text input specifications.
- Parameters:
start_timeout_ms (
Union
[int
,float
]) – Time for which a bot waits before re-prompting a customer for text input.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex text_input_specification_property = lex.CfnBot.TextInputSpecificationProperty( start_timeout_ms=123 )
Attributes
- start_timeout_ms
Time for which a bot waits before re-prompting a customer for text input.
TextLogDestinationProperty
- class CfnBot.TextLogDestinationProperty(*, cloud_watch)
Bases:
object
Defines the Amazon CloudWatch Logs destination log group for conversation text logs.
- Parameters:
cloud_watch (
Union
[IResolvable
,CloudWatchLogGroupLogDestinationProperty
,Dict
[str
,Any
]]) – Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex text_log_destination_property = lex.CfnBot.TextLogDestinationProperty( cloud_watch=lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) )
Attributes
- cloud_watch
Defines the Amazon CloudWatch Logs log group where text and metadata logs are delivered.
TextLogSettingProperty
- class CfnBot.TextLogSettingProperty(*, destination, enabled)
Bases:
object
Defines settings to enable text conversation logs.
- Parameters:
destination (
Union
[IResolvable
,TextLogDestinationProperty
,Dict
[str
,Any
]]) – Specifies the Amazon CloudWatch Logs destination log group for conversation text logs.enabled (
Union
[bool
,IResolvable
]) – Determines whether conversation logs should be stored for an alias.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex text_log_setting_property = lex.CfnBot.TextLogSettingProperty( destination=lex.CfnBot.TextLogDestinationProperty( cloud_watch=lex.CfnBot.CloudWatchLogGroupLogDestinationProperty( cloud_watch_log_group_arn="cloudWatchLogGroupArn", log_prefix="logPrefix" ) ), enabled=False )
Attributes
- destination
Specifies the Amazon CloudWatch Logs destination log group for conversation text logs.
- enabled
Determines whether conversation logs should be stored for an alias.
VoiceSettingsProperty
- class CfnBot.VoiceSettingsProperty(*, voice_id, engine=None)
Bases:
object
Defines settings for using an Amazon Polly voice to communicate with a user.
- Parameters:
voice_id (
str
) – The identifier of the Amazon Polly voice to use.engine (
Optional
[str
]) – Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the`engine
parameter of theSynthesizeSpeech
operation <https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine>`_ in the Amazon Polly developer guide . If you do not specify a value, the default isstandard
.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex voice_settings_property = lex.CfnBot.VoiceSettingsProperty( voice_id="voiceId", # the properties below are optional engine="engine" )
Attributes
- engine
Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user.
For more information, see the
`engine
parameter of theSynthesizeSpeech
operation <https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine>`_ in the Amazon Polly developer guide .If you do not specify a value, the default is
standard
.
- voice_id
The identifier of the Amazon Polly voice to use.
WaitAndContinueSpecificationProperty
- class CfnBot.WaitAndContinueSpecificationProperty(*, continue_response, waiting_response, is_active=None, still_waiting_response=None)
Bases:
object
Specifies the prompts that Amazon Lex uses while a bot is waiting for customer input.
- Parameters:
continue_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
]]) – The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.waiting_response (
Union
[IResolvable
,ResponseSpecificationProperty
,Dict
[str
,Any
]]) – The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.is_active (
Union
[bool
,IResolvable
,None
]) – Specifies whether the bot will wait for a user to respond. When this field is false, wait and continue responses for a slot aren’t used. If theIsActive
field isn’t specified, the default is true.still_waiting_response (
Union
[IResolvable
,StillWaitingResponseSpecificationProperty
,Dict
[str
,Any
],None
]) – A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_lex as lex wait_and_continue_specification_property = lex.CfnBot.WaitAndContinueSpecificationProperty( continue_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), waiting_response=lex.CfnBot.ResponseSpecificationProperty( message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], # the properties below are optional allow_interrupt=False ), # the properties below are optional is_active=False, still_waiting_response=lex.CfnBot.StillWaitingResponseSpecificationProperty( frequency_in_seconds=123, message_groups_list=[lex.CfnBot.MessageGroupProperty( message=lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) ), # the properties below are optional variations=[lex.CfnBot.MessageProperty( custom_payload=lex.CfnBot.CustomPayloadProperty( value="value" ), image_response_card=lex.CfnBot.ImageResponseCardProperty( title="title", # the properties below are optional buttons=[lex.CfnBot.ButtonProperty( text="text", value="value" )], image_url="imageUrl", subtitle="subtitle" ), plain_text_message=lex.CfnBot.PlainTextMessageProperty( value="value" ), ssml_message=lex.CfnBot.SSMLMessageProperty( value="value" ) )] )], timeout_in_seconds=123, # the properties below are optional allow_interrupt=False ) )
Attributes
- continue_response
The response that Amazon Lex sends to indicate that the bot is ready to continue the conversation.
- is_active
Specifies whether the bot will wait for a user to respond.
When this field is false, wait and continue responses for a slot aren’t used. If the
IsActive
field isn’t specified, the default is true.
- still_waiting_response
A response that Amazon Lex sends periodically to the user to indicate that the bot is still waiting for input from the user.
- waiting_response
The response that Amazon Lex sends to indicate that the bot is waiting for the conversation to continue.