Show / Hide Table of Contents

Class CfnInAppTemplate.InAppMessageContentProperty

Specifies the configuration of an in-app message, including its header, body, buttons, colors, and images.

Inheritance
object
CfnInAppTemplate.InAppMessageContentProperty
Implements
CfnInAppTemplate.IInAppMessageContentProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInAppTemplate.InAppMessageContentProperty : CfnInAppTemplate.IInAppMessageContentProperty
Syntax (vb)
Public Class CfnInAppTemplate.InAppMessageContentProperty Implements CfnInAppTemplate.IInAppMessageContentProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html

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 inAppMessageContentProperty = new InAppMessageContentProperty {
                 BackgroundColor = "backgroundColor",
                 BodyConfig = new BodyConfigProperty {
                     Alignment = "alignment",
                     Body = "body",
                     TextColor = "textColor"
                 },
                 HeaderConfig = new HeaderConfigProperty {
                     Alignment = "alignment",
                     Header = "header",
                     TextColor = "textColor"
                 },
                 ImageUrl = "imageUrl",
                 PrimaryBtn = new ButtonConfigProperty {
                     Android = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     DefaultConfig = new DefaultButtonConfigurationProperty {
                         BackgroundColor = "backgroundColor",
                         BorderRadius = 123,
                         ButtonAction = "buttonAction",
                         Link = "link",
                         Text = "text",
                         TextColor = "textColor"
                     },
                     Ios = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     Web = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     }
                 },
                 SecondaryBtn = new ButtonConfigProperty {
                     Android = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     DefaultConfig = new DefaultButtonConfigurationProperty {
                         BackgroundColor = "backgroundColor",
                         BorderRadius = 123,
                         ButtonAction = "buttonAction",
                         Link = "link",
                         Text = "text",
                         TextColor = "textColor"
                     },
                     Ios = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     Web = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     }
                 }
             };

Synopsis

Constructors

InAppMessageContentProperty()

Specifies the configuration of an in-app message, including its header, body, buttons, colors, and images.

Properties

BackgroundColor

The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).

BodyConfig

An object that contains configuration information about the header or title text of the in-app message.

HeaderConfig

An object that contains configuration information about the header or title text of the in-app message.

ImageUrl

The URL of the image that appears on an in-app message banner.

PrimaryBtn

An object that contains configuration information about the primary button in an in-app message.

SecondaryBtn

An object that contains configuration information about the secondary button in an in-app message.

Constructors

InAppMessageContentProperty()

Specifies the configuration of an in-app message, including its header, body, buttons, colors, and images.

public InAppMessageContentProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html

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 inAppMessageContentProperty = new InAppMessageContentProperty {
                 BackgroundColor = "backgroundColor",
                 BodyConfig = new BodyConfigProperty {
                     Alignment = "alignment",
                     Body = "body",
                     TextColor = "textColor"
                 },
                 HeaderConfig = new HeaderConfigProperty {
                     Alignment = "alignment",
                     Header = "header",
                     TextColor = "textColor"
                 },
                 ImageUrl = "imageUrl",
                 PrimaryBtn = new ButtonConfigProperty {
                     Android = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     DefaultConfig = new DefaultButtonConfigurationProperty {
                         BackgroundColor = "backgroundColor",
                         BorderRadius = 123,
                         ButtonAction = "buttonAction",
                         Link = "link",
                         Text = "text",
                         TextColor = "textColor"
                     },
                     Ios = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     Web = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     }
                 },
                 SecondaryBtn = new ButtonConfigProperty {
                     Android = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     DefaultConfig = new DefaultButtonConfigurationProperty {
                         BackgroundColor = "backgroundColor",
                         BorderRadius = 123,
                         ButtonAction = "buttonAction",
                         Link = "link",
                         Text = "text",
                         TextColor = "textColor"
                     },
                     Ios = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     },
                     Web = new OverrideButtonConfigurationProperty {
                         ButtonAction = "buttonAction",
                         Link = "link"
                     }
                 }
             };

Properties

BackgroundColor

The background color for an in-app message banner, expressed as a hex color code (such as #000000 for black).

public string? BackgroundColor { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-backgroundcolor

BodyConfig

An object that contains configuration information about the header or title text of the in-app message.

public object? BodyConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-bodyconfig

Type union: either IResolvable or CfnInAppTemplate.IBodyConfigProperty

HeaderConfig

An object that contains configuration information about the header or title text of the in-app message.

public object? HeaderConfig { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-headerconfig

Type union: either IResolvable or CfnInAppTemplate.IHeaderConfigProperty

ImageUrl

The URL of the image that appears on an in-app message banner.

public string? ImageUrl { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-imageurl

PrimaryBtn

An object that contains configuration information about the primary button in an in-app message.

public object? PrimaryBtn { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-primarybtn

Type union: either IResolvable or CfnInAppTemplate.IButtonConfigProperty

SecondaryBtn

An object that contains configuration information about the secondary button in an in-app message.

public object? SecondaryBtn { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-inappmessagecontent.html#cfn-pinpoint-inapptemplate-inappmessagecontent-secondarybtn

Type union: either IResolvable or CfnInAppTemplate.IButtonConfigProperty

Implements

CfnInAppTemplate.IInAppMessageContentProperty
Back to top Generated by DocFX