AWS::Lex::Bot ImageResponseCard - AWS CloudFormation

AWS::Lex::Bot ImageResponseCard

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Buttons" : [ Button, ... ], "ImageUrl" : String, "Subtitle" : String, "Title" : String }

YAML

Buttons: - Button ImageUrl: String Subtitle: String Title: String

Properties

Buttons

A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.

Required: No

Type: Array of Button

Maximum: 5

Update requires: No interruption

ImageUrl

The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.

Required: No

Type: String

Minimum: 1

Maximum: 250

Update requires: No interruption

Subtitle

The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

Required: No

Type: String

Minimum: 1

Maximum: 250

Update requires: No interruption

Title

The title to display on the response card. The format of the title is determined by the platform displaying the response card.

Required: Yes

Type: String

Minimum: 1

Maximum: 250

Update requires: No interruption