Skip to content
v2.275.0

InAppMessageBodyConfigProperty Struct ​

Specifies the configuration of main body text of the in-app message.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const inAppMessageBodyConfigProperty: pinpoint.CfnCampaign.InAppMessageBodyConfigProperty = {
  alignment: 'alignment',
  body: 'body',
  textColor: 'textColor',
};

Properties ​

alignmentoptionalstringalignmentoptionalstralignmentoptionalStringAlignmentoptionalstringAlignmentoptional*string#
The text alignment of the main body text of the message.

Acceptable values: LEFT , CENTER , RIGHT .

bodyoptionalstringbodyoptionalstrbodyoptionalStringBodyoptionalstringBodyoptional*string#
The main body text of the message.
textColoroptionalstringtext_coloroptionalstrtextColoroptionalStringTextColoroptionalstringTextColoroptional*string#
The color of the body text, expressed as a string consisting of a hex color code (such as "#000000" for black).