Show / Hide Table of Contents

Class CfnBot.SubSlotSettingProperty

Specifications for the constituent sub slots and the expression for the composite slot.

Inheritance
object
CfnBot.SubSlotSettingProperty
Implements
CfnBot.ISubSlotSettingProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lex
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnBot.SubSlotSettingProperty : CfnBot.ISubSlotSettingProperty
Syntax (vb)
Public Class CfnBot.SubSlotSettingProperty Implements CfnBot.ISubSlotSettingProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lex;

             var subSlotSettingProperty = new SubSlotSettingProperty {
                 Expression = "expression",
                 SlotSpecifications = new Dictionary<string, object> {
                     { "slotSpecificationsKey", new SpecificationsProperty {
                         SlotTypeId = "slotTypeId",
                         ValueElicitationSetting = new SubSlotValueElicitationSettingProperty {
                             DefaultValueSpecification = new SlotDefaultValueSpecificationProperty {
                                 DefaultValueList = new [] { new SlotDefaultValueProperty {
                                     DefaultValue = "defaultValue"
                                 } }
                             },
                             PromptSpecification = new PromptSpecificationProperty {
                                 MaxRetries = 123,
                                 MessageGroupsList = new [] { new MessageGroupProperty {
                                     Message = new MessageProperty {
                                         CustomPayload = new CustomPayloadProperty {
                                             Value = "value"
                                         },
                                         ImageResponseCard = new ImageResponseCardProperty {
                                             Title = "title",

                                             // the properties below are optional
                                             Buttons = new [] { new ButtonProperty {
                                                 Text = "text",
                                                 Value = "value"
                                             } },
                                             ImageUrl = "imageUrl",
                                             Subtitle = "subtitle"
                                         },
                                         PlainTextMessage = new PlainTextMessageProperty {
                                             Value = "value"
                                         },
                                         SsmlMessage = new SSMLMessageProperty {
                                             Value = "value"
                                         }
                                     },

                                     // the properties below are optional
                                     Variations = new [] { new MessageProperty {
                                         CustomPayload = new CustomPayloadProperty {
                                             Value = "value"
                                         },
                                         ImageResponseCard = new ImageResponseCardProperty {
                                             Title = "title",

                                             // the properties below are optional
                                             Buttons = new [] { new ButtonProperty {
                                                 Text = "text",
                                                 Value = "value"
                                             } },
                                             ImageUrl = "imageUrl",
                                             Subtitle = "subtitle"
                                         },
                                         PlainTextMessage = new PlainTextMessageProperty {
                                             Value = "value"
                                         },
                                         SsmlMessage = new SSMLMessageProperty {
                                             Value = "value"
                                         }
                                     } }
                                 } },

                                 // the properties below are optional
                                 AllowInterrupt = false,
                                 MessageSelectionStrategy = "messageSelectionStrategy",
                                 PromptAttemptsSpecification = new Dictionary<string, object> {
                                     { "promptAttemptsSpecificationKey", new PromptAttemptSpecificationProperty {
                                         AllowedInputTypes = new AllowedInputTypesProperty {
                                             AllowAudioInput = false,
                                             AllowDtmfInput = false
                                         },

                                         // the properties below are optional
                                         AllowInterrupt = false,
                                         AudioAndDtmfInputSpecification = new AudioAndDTMFInputSpecificationProperty {
                                             StartTimeoutMs = 123,

                                             // the properties below are optional
                                             AudioSpecification = new AudioSpecificationProperty {
                                                 EndTimeoutMs = 123,
                                                 MaxLengthMs = 123
                                             },
                                             DtmfSpecification = new DTMFSpecificationProperty {
                                                 DeletionCharacter = "deletionCharacter",
                                                 EndCharacter = "endCharacter",
                                                 EndTimeoutMs = 123,
                                                 MaxLength = 123
                                             }
                                         },
                                         TextInputSpecification = new TextInputSpecificationProperty {
                                             StartTimeoutMs = 123
                                         }
                                     } }
                                 }
                             },
                             SampleUtterances = new [] { new SampleUtteranceProperty {
                                 Utterance = "utterance"
                             } },
                             WaitAndContinueSpecification = new WaitAndContinueSpecificationProperty {
                                 ContinueResponse = new ResponseSpecificationProperty {
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 },
                                 WaitingResponse = new ResponseSpecificationProperty {
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 },

                                 // the properties below are optional
                                 IsActive = false,
                                 StillWaitingResponse = new StillWaitingResponseSpecificationProperty {
                                     FrequencyInSeconds = 123,
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },
                                     TimeoutInSeconds = 123,

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 }
                             }
                         }
                     } }
                 }
             };

Synopsis

Constructors

SubSlotSettingProperty()

Specifications for the constituent sub slots and the expression for the composite slot.

Properties

Expression

The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.

SlotSpecifications

Specifications for the constituent sub slots of a composite slot.

Constructors

SubSlotSettingProperty()

Specifications for the constituent sub slots and the expression for the composite slot.

public SubSlotSettingProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lex;

             var subSlotSettingProperty = new SubSlotSettingProperty {
                 Expression = "expression",
                 SlotSpecifications = new Dictionary<string, object> {
                     { "slotSpecificationsKey", new SpecificationsProperty {
                         SlotTypeId = "slotTypeId",
                         ValueElicitationSetting = new SubSlotValueElicitationSettingProperty {
                             DefaultValueSpecification = new SlotDefaultValueSpecificationProperty {
                                 DefaultValueList = new [] { new SlotDefaultValueProperty {
                                     DefaultValue = "defaultValue"
                                 } }
                             },
                             PromptSpecification = new PromptSpecificationProperty {
                                 MaxRetries = 123,
                                 MessageGroupsList = new [] { new MessageGroupProperty {
                                     Message = new MessageProperty {
                                         CustomPayload = new CustomPayloadProperty {
                                             Value = "value"
                                         },
                                         ImageResponseCard = new ImageResponseCardProperty {
                                             Title = "title",

                                             // the properties below are optional
                                             Buttons = new [] { new ButtonProperty {
                                                 Text = "text",
                                                 Value = "value"
                                             } },
                                             ImageUrl = "imageUrl",
                                             Subtitle = "subtitle"
                                         },
                                         PlainTextMessage = new PlainTextMessageProperty {
                                             Value = "value"
                                         },
                                         SsmlMessage = new SSMLMessageProperty {
                                             Value = "value"
                                         }
                                     },

                                     // the properties below are optional
                                     Variations = new [] { new MessageProperty {
                                         CustomPayload = new CustomPayloadProperty {
                                             Value = "value"
                                         },
                                         ImageResponseCard = new ImageResponseCardProperty {
                                             Title = "title",

                                             // the properties below are optional
                                             Buttons = new [] { new ButtonProperty {
                                                 Text = "text",
                                                 Value = "value"
                                             } },
                                             ImageUrl = "imageUrl",
                                             Subtitle = "subtitle"
                                         },
                                         PlainTextMessage = new PlainTextMessageProperty {
                                             Value = "value"
                                         },
                                         SsmlMessage = new SSMLMessageProperty {
                                             Value = "value"
                                         }
                                     } }
                                 } },

                                 // the properties below are optional
                                 AllowInterrupt = false,
                                 MessageSelectionStrategy = "messageSelectionStrategy",
                                 PromptAttemptsSpecification = new Dictionary<string, object> {
                                     { "promptAttemptsSpecificationKey", new PromptAttemptSpecificationProperty {
                                         AllowedInputTypes = new AllowedInputTypesProperty {
                                             AllowAudioInput = false,
                                             AllowDtmfInput = false
                                         },

                                         // the properties below are optional
                                         AllowInterrupt = false,
                                         AudioAndDtmfInputSpecification = new AudioAndDTMFInputSpecificationProperty {
                                             StartTimeoutMs = 123,

                                             // the properties below are optional
                                             AudioSpecification = new AudioSpecificationProperty {
                                                 EndTimeoutMs = 123,
                                                 MaxLengthMs = 123
                                             },
                                             DtmfSpecification = new DTMFSpecificationProperty {
                                                 DeletionCharacter = "deletionCharacter",
                                                 EndCharacter = "endCharacter",
                                                 EndTimeoutMs = 123,
                                                 MaxLength = 123
                                             }
                                         },
                                         TextInputSpecification = new TextInputSpecificationProperty {
                                             StartTimeoutMs = 123
                                         }
                                     } }
                                 }
                             },
                             SampleUtterances = new [] { new SampleUtteranceProperty {
                                 Utterance = "utterance"
                             } },
                             WaitAndContinueSpecification = new WaitAndContinueSpecificationProperty {
                                 ContinueResponse = new ResponseSpecificationProperty {
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 },
                                 WaitingResponse = new ResponseSpecificationProperty {
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 },

                                 // the properties below are optional
                                 IsActive = false,
                                 StillWaitingResponse = new StillWaitingResponseSpecificationProperty {
                                     FrequencyInSeconds = 123,
                                     MessageGroupsList = new [] { new MessageGroupProperty {
                                         Message = new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         },

                                         // the properties below are optional
                                         Variations = new [] { new MessageProperty {
                                             CustomPayload = new CustomPayloadProperty {
                                                 Value = "value"
                                             },
                                             ImageResponseCard = new ImageResponseCardProperty {
                                                 Title = "title",

                                                 // the properties below are optional
                                                 Buttons = new [] { new ButtonProperty {
                                                     Text = "text",
                                                     Value = "value"
                                                 } },
                                                 ImageUrl = "imageUrl",
                                                 Subtitle = "subtitle"
                                             },
                                             PlainTextMessage = new PlainTextMessageProperty {
                                                 Value = "value"
                                             },
                                             SsmlMessage = new SSMLMessageProperty {
                                                 Value = "value"
                                             }
                                         } }
                                     } },
                                     TimeoutInSeconds = 123,

                                     // the properties below are optional
                                     AllowInterrupt = false
                                 }
                             }
                         }
                     } }
                 }
             };

Properties

Expression

The expression text for defining the constituent sub slots in the composite slot using logical AND and OR operators.

public string? Expression { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-expression

SlotSpecifications

Specifications for the constituent sub slots of a composite slot.

public object? SlotSpecifications { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-subslotsetting.html#cfn-lex-bot-subslotsetting-slotspecifications

Implements

CfnBot.ISubSlotSettingProperty
Back to top Generated by DocFX