interface InAppMessageBodyConfigProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnCampaign.InAppMessageBodyConfigProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnCampaign.InAppMessageBodyConfigProperty |
Python | aws_cdk.aws_pinpoint.CfnCampaign.InAppMessageBodyConfigProperty |
TypeScript | @aws-cdk/aws-pinpoint » CfnCampaign » InAppMessageBodyConfigProperty |
Specifies the configuration of 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 * as pinpoint from '@aws-cdk/aws-pinpoint';
const inAppMessageBodyConfigProperty: pinpoint.CfnCampaign.InAppMessageBodyConfigProperty = {
alignment: 'alignment',
body: 'body',
textColor: 'textColor',
};
Properties
Name | Type | Description |
---|---|---|
alignment? | string | The text alignment of the main body text of the message. |
body? | string | The main body text of the message. |
text | string | The color of the body text, expressed as a string consisting of 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 string consisting of a hex color code (such as "#000000" for black).