Show / Hide Table of Contents

Interface CfnCampaign.IInAppMessageContentProperty

Specifies the configuration and contents of an in-app message.

Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCampaign.IInAppMessageContentProperty
Syntax (vb)
Public Interface CfnCampaign.IInAppMessageContentProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-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 InAppMessageBodyConfigProperty {
                     Alignment = "alignment",
                     Body = "body",
                     TextColor = "textColor"
                 },
                 HeaderConfig = new InAppMessageHeaderConfigProperty {
                     Alignment = "alignment",
                     Header = "header",
                     TextColor = "textColor"
                 },
                 ImageUrl = "imageUrl",
                 PrimaryBtn = new InAppMessageButtonProperty {
                     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 InAppMessageButtonProperty {
                     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

Properties

BackgroundColor

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

BodyConfig

Specifies the configuration of main body text in an in-app message template.

HeaderConfig

Specifies the configuration and content of 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.

Properties

BackgroundColor

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

string? BackgroundColor { get; }
Property Value

string

Remarks

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

BodyConfig

Specifies the configuration of main body text in an in-app message template.

object? BodyConfig { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnCampaign.IInAppMessageBodyConfigProperty

HeaderConfig

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

object? HeaderConfig { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnCampaign.IInAppMessageHeaderConfigProperty

ImageUrl

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

string? ImageUrl { get; }
Property Value

string

Remarks

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

PrimaryBtn

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

object? PrimaryBtn { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnCampaign.IInAppMessageButtonProperty

SecondaryBtn

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

object? SecondaryBtn { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnCampaign.IInAppMessageButtonProperty

Back to top Generated by DocFX