Show / Hide Table of Contents

Class CfnInAppTemplateMixinProps

Properties for CfnInAppTemplatePropsMixin.

Inheritance
object
CfnInAppTemplateMixinProps
Implements
ICfnInAppTemplateMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnInAppTemplateMixinProps : ICfnInAppTemplateMixinProps
Syntax (vb)
Public Class CfnInAppTemplateMixinProps Implements ICfnInAppTemplateMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.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.Mixins.Preview.AWS.Pinpoint.Mixins;

             var customConfig;
             var tags;

             var cfnInAppTemplateMixinProps = new CfnInAppTemplateMixinProps {
                 Content = new [] { 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"
                         }
                     }
                 } },
                 CustomConfig = customConfig,
                 Layout = "layout",
                 Tags = tags,
                 TemplateDescription = "templateDescription",
                 TemplateName = "templateName"
             };

Synopsis

Constructors

CfnInAppTemplateMixinProps()

Properties for CfnInAppTemplatePropsMixin.

Properties

Content

An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.

CustomConfig

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

Layout

A string that determines the appearance of the in-app message. You can specify one of the following:.

Tags

An array of key-value pairs to apply to this resource.

TemplateDescription

An optional description of the in-app template.

TemplateName

The name of the in-app message template.

Constructors

CfnInAppTemplateMixinProps()

Properties for CfnInAppTemplatePropsMixin.

public CfnInAppTemplateMixinProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.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.Mixins.Preview.AWS.Pinpoint.Mixins;

             var customConfig;
             var tags;

             var cfnInAppTemplateMixinProps = new CfnInAppTemplateMixinProps {
                 Content = new [] { 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"
                         }
                     }
                 } },
                 CustomConfig = customConfig,
                 Layout = "layout",
                 Tags = tags,
                 TemplateDescription = "templateDescription",
                 TemplateName = "templateName"
             };

Properties

Content

An object that contains information about the content of an in-app message, including its title and body text, text colors, background colors, images, buttons, and behaviors.

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-content

Type union: either IResolvable or (either IResolvable or CfnInAppTemplatePropsMixin.IInAppMessageContentProperty)[]

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-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-customconfig

Layout

A string that determines the appearance of the in-app message. 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-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-layout

    Tags

    An array of key-value pairs to apply to this resource.

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

    object

    Remarks

    For more information, see Tag .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-tags

    TemplateDescription

    An optional description of the in-app template.

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

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-templatedescription

    TemplateName

    The name of the in-app message template.

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

    string

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-inapptemplate.html#cfn-pinpoint-inapptemplate-templatename

    Implements

    ICfnInAppTemplateMixinProps
    Back to top Generated by DocFX