Show / Hide Table of Contents

Class CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty

Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.

Inheritance
object
CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty
Implements
CfnBotPropsMixin.IFulfillmentStartResponseSpecificationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty : CfnBotPropsMixin.IFulfillmentStartResponseSpecificationProperty
Syntax (vb)
Public Class CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty Implements CfnBotPropsMixin.IFulfillmentStartResponseSpecificationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentstartresponsespecification.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.Mixins.Preview.AWS.Lex.Mixins;

             var fulfillmentStartResponseSpecificationProperty = new FulfillmentStartResponseSpecificationProperty {
                 AllowInterrupt = false,
                 DelayInSeconds = 123,
                 MessageGroups = new [] { new MessageGroupProperty {
                     Message = new MessageProperty {
                         CustomPayload = new CustomPayloadProperty {
                             Value = "value"
                         },
                         ImageResponseCard = new ImageResponseCardProperty {
                             Buttons = new [] { new ButtonProperty {
                                 Text = "text",
                                 Value = "value"
                             } },
                             ImageUrl = "imageUrl",
                             Subtitle = "subtitle",
                             Title = "title"
                         },
                         PlainTextMessage = new PlainTextMessageProperty {
                             Value = "value"
                         },
                         SsmlMessage = new SSMLMessageProperty {
                             Value = "value"
                         }
                     },
                     Variations = new [] { new MessageProperty {
                         CustomPayload = new CustomPayloadProperty {
                             Value = "value"
                         },
                         ImageResponseCard = new ImageResponseCardProperty {
                             Buttons = new [] { new ButtonProperty {
                                 Text = "text",
                                 Value = "value"
                             } },
                             ImageUrl = "imageUrl",
                             Subtitle = "subtitle",
                             Title = "title"
                         },
                         PlainTextMessage = new PlainTextMessageProperty {
                             Value = "value"
                         },
                         SsmlMessage = new SSMLMessageProperty {
                             Value = "value"
                         }
                     } }
                 } }
             };

Synopsis

Constructors

FulfillmentStartResponseSpecificationProperty()

Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.

Properties

AllowInterrupt

Determines whether the user can interrupt the start message while it is playing.

DelayInSeconds

The delay between when the Lambda fulfillment function starts running and the start message is played.

MessageGroups

1 - 5 message groups that contain start messages.

Constructors

FulfillmentStartResponseSpecificationProperty()

Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.

public FulfillmentStartResponseSpecificationProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-fulfillmentstartresponsespecification.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.Mixins.Preview.AWS.Lex.Mixins;

             var fulfillmentStartResponseSpecificationProperty = new FulfillmentStartResponseSpecificationProperty {
                 AllowInterrupt = false,
                 DelayInSeconds = 123,
                 MessageGroups = new [] { new MessageGroupProperty {
                     Message = new MessageProperty {
                         CustomPayload = new CustomPayloadProperty {
                             Value = "value"
                         },
                         ImageResponseCard = new ImageResponseCardProperty {
                             Buttons = new [] { new ButtonProperty {
                                 Text = "text",
                                 Value = "value"
                             } },
                             ImageUrl = "imageUrl",
                             Subtitle = "subtitle",
                             Title = "title"
                         },
                         PlainTextMessage = new PlainTextMessageProperty {
                             Value = "value"
                         },
                         SsmlMessage = new SSMLMessageProperty {
                             Value = "value"
                         }
                     },
                     Variations = new [] { new MessageProperty {
                         CustomPayload = new CustomPayloadProperty {
                             Value = "value"
                         },
                         ImageResponseCard = new ImageResponseCardProperty {
                             Buttons = new [] { new ButtonProperty {
                                 Text = "text",
                                 Value = "value"
                             } },
                             ImageUrl = "imageUrl",
                             Subtitle = "subtitle",
                             Title = "title"
                         },
                         PlainTextMessage = new PlainTextMessageProperty {
                             Value = "value"
                         },
                         SsmlMessage = new SSMLMessageProperty {
                             Value = "value"
                         }
                     } }
                 } }
             };

Properties

AllowInterrupt

Determines whether the user can interrupt the start message while it is playing.

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

object

Remarks

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

Type union: either bool or IResolvable

DelayInSeconds

The delay between when the Lambda fulfillment function starts running and the start message is played.

public double? DelayInSeconds { get; set; }
Property Value

double?

Remarks

If the Lambda function returns before the delay is over, the start message isn't played.

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

MessageGroups

1 - 5 message groups that contain start messages.

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

object

Remarks

Amazon Lex chooses one of the messages to play to the user.

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

Type union: either IResolvable or (either IResolvable or CfnBotPropsMixin.IMessageGroupProperty)[]

Implements

CfnBotPropsMixin.IFulfillmentStartResponseSpecificationProperty
Back to top Generated by DocFX