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
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
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
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
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