Class CfnInAppTemplate.BodyConfigProperty
Specifies the configuration of the main body text of the in-app message.
Inheritance
System.Object
CfnInAppTemplate.BodyConfigProperty
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.AWS.Pinpoint.dll
Syntax (csharp)
public class BodyConfigProperty : Object, CfnInAppTemplate.IBodyConfigProperty
Syntax (vb)
Public Class BodyConfigProperty
Inherits Object
Implements CfnInAppTemplate.IBodyConfigProperty
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 bodyConfigProperty = new BodyConfigProperty {
Alignment = "alignment",
Body = "body",
TextColor = "textColor"
};
Synopsis
Constructors
BodyConfigProperty() |
Properties
Alignment | The text alignment of the main body text of the message. |
Body | The main body text of the message. |
TextColor | The color of the body text, expressed as a hex color code (such as #000000 for black). |
Constructors
BodyConfigProperty()
public BodyConfigProperty()
Properties
Alignment
The text alignment of the main body text of the message.
public string Alignment { get; set; }
Property Value
System.String
Remarks
Acceptable values: LEFT
, CENTER
, RIGHT
.
Body
The main body text of the message.
public string Body { get; set; }
Property Value
System.String
Remarks
TextColor
The color of the body text, expressed as a hex color code (such as #000000 for black).
public string TextColor { get; set; }
Property Value
System.String