interface InAppMessageHeaderConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins.CfnCampaignPropsMixin.InAppMessageHeaderConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awspinpoint/mixins#CfnCampaignPropsMixin_InAppMessageHeaderConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnCampaignPropsMixin.InAppMessageHeaderConfigProperty |
Python | aws_cdk.mixins_preview.aws_pinpoint.mixins.CfnCampaignPropsMixin.InAppMessageHeaderConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_pinpoint » mixins » CfnCampaignPropsMixin » InAppMessageHeaderConfigProperty |
Specifies the configuration and content of the header or title 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 { mixins as pinpoint_mixins } from '@aws-cdk/mixins-preview/aws-pinpoint';
const inAppMessageHeaderConfigProperty: pinpoint_mixins.CfnCampaignPropsMixin.InAppMessageHeaderConfigProperty = {
alignment: 'alignment',
header: 'header',
textColor: 'textColor',
};
Properties
| Name | Type | Description |
|---|---|---|
| alignment? | string | The text alignment of the title of the message. |
| header? | string | The header or title text of the in-app 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 title of the message.
Acceptable values: LEFT , CENTER , RIGHT .
header?
Type:
string
(optional)
The header or title text of the in-app 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