interface DefaultConditionalBranchProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Lex.CfnBot.DefaultConditionalBranchProperty | 
|  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DefaultConditionalBranchProperty | 
|  Java | software.amazon.awscdk.services.lex.CfnBot.DefaultConditionalBranchProperty | 
|  Python | aws_cdk.aws_lex.CfnBot.DefaultConditionalBranchProperty | 
|  TypeScript | aws-cdk-lib»aws_lex»CfnBot»DefaultConditionalBranchProperty | 
A set of actions that Amazon Lex should run if none of the other conditions are met.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lex as lex } from 'aws-cdk-lib';
declare const slotValueOverrideProperty_: lex.CfnBot.SlotValueOverrideProperty;
const defaultConditionalBranchProperty: lex.CfnBot.DefaultConditionalBranchProperty = {
  nextStep: {
    dialogAction: {
      type: 'type',
      // the properties below are optional
      slotToElicit: 'slotToElicit',
      suppressNextMessage: false,
    },
    intent: {
      name: 'name',
      slots: [{
        slotName: 'slotName',
        slotValueOverride: {
          shape: 'shape',
          value: {
            interpretedValue: 'interpretedValue',
          },
          values: [slotValueOverrideProperty_],
        },
      }],
    },
    sessionAttributes: [{
      key: 'key',
      // the properties below are optional
      value: 'value',
    }],
  },
  response: {
    messageGroupsList: [{
      message: {
        customPayload: {
          value: 'value',
        },
        imageResponseCard: {
          title: 'title',
          // the properties below are optional
          buttons: [{
            text: 'text',
            value: 'value',
          }],
          imageUrl: 'imageUrl',
          subtitle: 'subtitle',
        },
        plainTextMessage: {
          value: 'value',
        },
        ssmlMessage: {
          value: 'value',
        },
      },
      // the properties below are optional
      variations: [{
        customPayload: {
          value: 'value',
        },
        imageResponseCard: {
          title: 'title',
          // the properties below are optional
          buttons: [{
            text: 'text',
            value: 'value',
          }],
          imageUrl: 'imageUrl',
          subtitle: 'subtitle',
        },
        plainTextMessage: {
          value: 'value',
        },
        ssmlMessage: {
          value: 'value',
        },
      }],
    }],
    // the properties below are optional
    allowInterrupt: false,
  },
};
Properties
| Name | Type | Description | 
|---|---|---|
| next | IResolvable | Dialog | The next step in the conversation. | 
| response? | IResolvable | Response | Specifies a list of message groups that Amazon Lex uses to respond the user input. | 
nextStep?
Type:
IResolvable | Dialog
(optional)
The next step in the conversation.
response?
Type:
IResolvable | Response
(optional)
Specifies a list of message groups that Amazon Lex uses to respond the user input.
