Show / Hide Table of Contents

Interface ICfnInAppTemplateProps

Properties for defining a CfnInAppTemplate.

Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnInAppTemplateProps
Syntax (vb)
Public Interface ICfnInAppTemplateProps
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.AWS.Pinpoint;

             var customConfig;
             var tags;

             var cfnInAppTemplateProps = new CfnInAppTemplateProps {
                 TemplateName = "templateName",

                 // the properties below are optional
                 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"
             };

Synopsis

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.

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.

object? Content { get; }
Property Value

object

Remarks

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

CustomConfig

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

object? CustomConfig { get; }
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:.

string? Layout { get; }
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.

    object? Tags { get; }
    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.

    string? TemplateDescription { get; }
    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.

    string TemplateName { get; }
    Property Value

    string

    Remarks

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

    Back to top Generated by DocFX