interface InAppMessageBodyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Pinpoint.CfnCampaignPropsMixin.InAppMessageBodyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awspinpoint#CfnCampaignPropsMixin_InAppMessageBodyConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnCampaignPropsMixin.InAppMessageBodyConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_pinpoint.CfnCampaignPropsMixin.InAppMessageBodyConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_pinpoint » CfnCampaignPropsMixin » 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 { aws_pinpoint as pinpoint } from '@aws-cdk/cfn-property-mixins';
const inAppMessageBodyConfigProperty: pinpoint.CfnCampaignPropsMixin.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).

.NET
Go
Java
Python
TypeScript