aws-cdk-lib.aws_pinpoint.CfnInAppTemplate.BodyConfigProperty

interface BodyConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnInAppTemplate.BodyConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnInAppTemplate_BodyConfigProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnInAppTemplate.BodyConfigProperty
Pythonaws_cdk.aws_pinpoint.CfnInAppTemplate.BodyConfigProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnInAppTemplate » BodyConfigProperty

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

Example

// 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 bodyConfigProperty: pinpoint.CfnInAppTemplate.BodyConfigProperty = {
  alignment: 'alignment',
  body: 'body',
  textColor: 'textColor',
};

Properties

NameTypeDescription
alignment?stringThe text alignment of the main body text of the message.
body?stringThe main body text of the message.
textColor?stringThe color of the body text, expressed as a hex color code (such as #000000 for black).

alignment?

Type: string (optional)

The text alignment of the main body text of the message.

Acceptable values: LEFT , CENTER , RIGHT .


body?

Type: string (optional)

The main body text of the message.


textColor?

Type: string (optional)

The color of the body text, expressed as a hex color code (such as #000000 for black).