Class CfnBotPropsMixin.FulfillmentStartResponseSpecificationProperty
Provides settings for a message that is sent to the user when a fulfillment Lambda function starts running.
Inherited Members
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
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
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
Remarks
DelayInSeconds
The delay between when the Lambda fulfillment function starts running and the start message is played.
public double? DelayInSeconds { get; set; }
Property Value
Remarks
If the Lambda function returns before the delay is over, the start message isn't played.
MessageGroups
1 - 5 message groups that contain start messages.
public object? MessageGroups { get; set; }
Property Value
Remarks
Amazon Lex chooses one of the messages to play to the user.
Type union: either IResolvable or (either IResolvable or CfnBotPropsMixin.IMessageGroupProperty)[]