aws-cdk-lib.aws_pinpoint.CfnInAppTemplate.HeaderConfigProperty

interface HeaderConfigProperty

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

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 { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const headerConfigProperty: pinpoint.CfnInAppTemplate.HeaderConfigProperty = {
  alignment: 'alignment',
  header: 'header',
  textColor: 'textColor',
};

Properties

NameTypeDescription
alignment?stringThe text alignment of the title of the message.
header?stringThe title text of the in-app message.
textColor?stringThe color of the title text, expressed as 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 title text of the in-app message.


textColor?

Type: string (optional)

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