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::Pinpoint::InAppTemplate InAppMessageContent
Specifies the configuration of an in-app message, including its header, body, buttons, colors, and images.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "BackgroundColor" :String, "BodyConfig" :BodyConfig, "HeaderConfig" :HeaderConfig, "ImageUrl" :String, "PrimaryBtn" :ButtonConfig, "SecondaryBtn" :ButtonConfig}
YAML
BackgroundColor:StringBodyConfig:BodyConfigHeaderConfig:HeaderConfigImageUrl:StringPrimaryBtn:ButtonConfigSecondaryBtn:ButtonConfig
Properties
BackgroundColor-
The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).
Required: No
Type: String
Update requires: No interruption
BodyConfig-
An object that contains configuration information about the header or title text of the in-app message.
Required: No
Type: BodyConfig
Update requires: No interruption
HeaderConfig-
An object that contains configuration information about the header or title text of the in-app message.
Required: No
Type: HeaderConfig
Update requires: No interruption
ImageUrl-
The URL of the image that appears on an in-app message banner.
Required: No
Type: String
Update requires: No interruption
PrimaryBtn-
An object that contains configuration information about the primary button in an in-app message.
Required: No
Type: ButtonConfig
Update requires: No interruption
SecondaryBtn-
An object that contains configuration information about the secondary button in an in-app message.
Required: No
Type: ButtonConfig
Update requires: No interruption