InAppMessageHeaderConfigProperty Struct
Specifies the configuration and content of the header or title text of the in-app message.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 inAppMessageHeaderConfigProperty: pinpoint.CfnCampaign.InAppMessageHeaderConfigProperty = {
alignment: 'alignment',
header: 'header',
textColor: 'textColor',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint
in_app_message_header_config_property = pinpoint.CfnCampaign.InAppMessageHeaderConfigProperty(
alignment="alignment",
header="header",
text_color="textColor"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
InAppMessageHeaderConfigProperty inAppMessageHeaderConfigProperty = InAppMessageHeaderConfigProperty.builder()
.alignment("alignment")
.header("header")
.textColor("textColor")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 inAppMessageHeaderConfigProperty = new InAppMessageHeaderConfigProperty {
Alignment = "alignment",
Header = "header",
TextColor = "textColor"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
inAppMessageHeaderConfigProperty := &InAppMessageHeaderConfigProperty{
Alignment: jsii.String("alignment"),
Header: jsii.String("header"),
TextColor: jsii.String("textColor"),
}
Properties
alignmentoptionalstringalignmentoptionalstralignmentoptionalStringAlignmentoptionalstringAlignmentoptional*string #The text alignment of the title of the message.
Acceptable values: LEFT , CENTER , RIGHT .
headeroptionalstringheaderoptionalstrheaderoptionalStringHeaderoptionalstringHeaderoptional*string #The header or title text of the in-app message.
textColoroptionalstringtext_coloroptionalstrtextColoroptionalStringTextColoroptionalstringTextColoroptional*string #The color of the body text, expressed as a string consisting of a hex color code (such as "#000000" for black).