

This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html).

# AWS::Pinpoint::Campaign InAppMessageHeaderConfig
<a name="aws-properties-pinpoint-campaign-inappmessageheaderconfig"></a>

Specifies the configuration and content of the header or title text of the in-app message.

## Syntax
<a name="aws-properties-pinpoint-campaign-inappmessageheaderconfig-syntax"></a>

To declare this entity in your CloudFormation template, use the following syntax:

### JSON
<a name="aws-properties-pinpoint-campaign-inappmessageheaderconfig-syntax.json"></a>

```
{
  "[Alignment](#cfn-pinpoint-campaign-inappmessageheaderconfig-alignment)" : {{String}},
  "[Header](#cfn-pinpoint-campaign-inappmessageheaderconfig-header)" : {{String}},
  "[TextColor](#cfn-pinpoint-campaign-inappmessageheaderconfig-textcolor)" : {{String}}
}
```

### YAML
<a name="aws-properties-pinpoint-campaign-inappmessageheaderconfig-syntax.yaml"></a>

```
  [Alignment](#cfn-pinpoint-campaign-inappmessageheaderconfig-alignment): {{String}}
  [Header](#cfn-pinpoint-campaign-inappmessageheaderconfig-header): {{String}}
  [TextColor](#cfn-pinpoint-campaign-inappmessageheaderconfig-textcolor): {{String}}
```

## Properties
<a name="aws-properties-pinpoint-campaign-inappmessageheaderconfig-properties"></a>

`Alignment`  <a name="cfn-pinpoint-campaign-inappmessageheaderconfig-alignment"></a>
The text alignment of the title of the message. Acceptable values: `LEFT`, `CENTER`, `RIGHT`.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`Header`  <a name="cfn-pinpoint-campaign-inappmessageheaderconfig-header"></a>
The header or title text of the in-app message.  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)

`TextColor`  <a name="cfn-pinpoint-campaign-inappmessageheaderconfig-textcolor"></a>
The color of the body text, expressed as a string consisting of a hex color code (such as "\#000000" for black).  
*Required*: No  
*Type*: String  
*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)