Class CfnInAppTemplate.HeaderConfigProperty
Specifies the configuration and content of the header or title text of the in-app message.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInAppTemplate.HeaderConfigProperty : CfnInAppTemplate.IHeaderConfigProperty
Syntax (vb)
Public Class CfnInAppTemplate.HeaderConfigProperty Implements CfnInAppTemplate.IHeaderConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var headerConfigProperty = new HeaderConfigProperty {
Alignment = "alignment",
Header = "header",
TextColor = "textColor"
};
Synopsis
Constructors
HeaderConfigProperty() | Specifies the configuration and content of the header or title text of the in-app message. |
Properties
Alignment | The text alignment of the title of the message. |
Header | The title text of the in-app message. |
TextColor | The color of the title text, expressed as a hex color code (such as #000000 for black). |
Constructors
HeaderConfigProperty()
Specifies the configuration and content of the header or title text of the in-app message.
public HeaderConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var headerConfigProperty = new HeaderConfigProperty {
Alignment = "alignment",
Header = "header",
TextColor = "textColor"
};
Properties
Alignment
The text alignment of the title of the message.
public string? Alignment { get; set; }
Property Value
Remarks
Acceptable values: LEFT
, CENTER
, RIGHT
.
Header
The title text of the in-app message.
public string? Header { get; set; }
Property Value
Remarks
TextColor
The color of the title text, expressed as a hex color code (such as #000000 for black).
public string? TextColor { get; set; }