Show / Hide Table of Contents

Class CfnCampaign.CampaignInAppMessageProperty

Specifies the appearance of an in-app message, including the message type, the title and body text, text and background colors, and the configurations of buttons that appear in the message.

Inheritance
object
CfnCampaign.CampaignInAppMessageProperty
Implements
CfnCampaign.ICampaignInAppMessageProperty
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 CfnCampaign.CampaignInAppMessageProperty : CfnCampaign.ICampaignInAppMessageProperty
Syntax (vb)
Public Class CfnCampaign.CampaignInAppMessageProperty Implements CfnCampaign.ICampaignInAppMessageProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.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 customConfig;

             var campaignInAppMessageProperty = new CampaignInAppMessageProperty {
                 Content = new [] { 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"
                         }
                     }
                 } },
                 CustomConfig = customConfig,
                 Layout = "layout"
             };

Synopsis

Constructors

CampaignInAppMessageProperty()

Specifies the appearance of an in-app message, including the message type, the title and body text, text and background colors, and the configurations of buttons that appear in the message.

Properties

Content

An array that contains configurtion information about the in-app message for the campaign, including title and body text, text colors, background colors, image URLs, and button configurations.

CustomConfig

Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.

Layout

A string that describes how the in-app message will appear. You can specify one of the following:.

Constructors

CampaignInAppMessageProperty()

Specifies the appearance of an in-app message, including the message type, the title and body text, text and background colors, and the configurations of buttons that appear in the message.

public CampaignInAppMessageProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-campaign-campaigninappmessage.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 customConfig;

             var campaignInAppMessageProperty = new CampaignInAppMessageProperty {
                 Content = new [] { 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"
                         }
                     }
                 } },
                 CustomConfig = customConfig,
                 Layout = "layout"
             };

Properties

Content

An array that contains configurtion information about the in-app message for the campaign, including title and body text, text colors, background colors, image URLs, and button configurations.

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

object

Remarks

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

CustomConfig

Custom data, in the form of key-value pairs, that is included in an in-app messaging payload.

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

object

Remarks

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

Layout

A string that describes how the in-app message will appear. You can specify one of the following:.

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

string

Remarks

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

    Implements

    CfnCampaign.ICampaignInAppMessageProperty
    Back to top Generated by DocFX