This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Bedrock::Prompt Message
A message input, or returned from, a call to Converse or ConverseStream.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Content" :[ ContentBlock, ... ], "Role" :String}
YAML
Content:- ContentBlockRole:String
Properties
Content-
The message content. Note the following restrictions:
-
You can include up to 20 images. Each image's size, height, and width must be no more than 3.75 MB, 8000 px, and 8000 px, respectively.
-
You can include up to five documents. Each document's size must be no more than 4.5 MB.
-
If you include a
ContentBlockwith adocumentfield in the array, you must also include aContentBlockwith atextfield. -
You can only include images and documents if the
roleisuser.
Required: Yes
Type: Array of ContentBlock
Minimum:
1Update requires: No interruption
-
Role-
The role that the message plays in the message.
Required: Yes
Type: String
Allowed values:
user | assistantUpdate requires: No interruption