Show / Hide Table of Contents

Class CfnInAppTemplate.ButtonConfigProperty

Specifies the behavior of buttons that appear in an in-app message template.

Inheritance
object
CfnInAppTemplate.ButtonConfigProperty
Implements
CfnInAppTemplate.IButtonConfigProperty
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.ButtonConfigProperty : CfnInAppTemplate.IButtonConfigProperty
Syntax (vb)
Public Class CfnInAppTemplate.ButtonConfigProperty Implements CfnInAppTemplate.IButtonConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.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 buttonConfigProperty = 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

ButtonConfigProperty()

Specifies the behavior of buttons that appear in an in-app message template.

Properties

Android

Optional button configuration to use for in-app messages sent to Android devices.

DefaultConfig

Specifies the default behavior of a button that appears in an in-app message.

Ios

Optional button configuration to use for in-app messages sent to iOS devices.

Web

Optional button configuration to use for in-app messages sent to web applications.

Constructors

ButtonConfigProperty()

Specifies the behavior of buttons that appear in an in-app message template.

public ButtonConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pinpoint-inapptemplate-buttonconfig.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 buttonConfigProperty = 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

Android

Optional button configuration to use for in-app messages sent to Android devices.

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

object

Remarks

This button configuration overrides the default button configuration.

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

DefaultConfig

Specifies the default behavior of a button that appears in an in-app message.

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

object

Remarks

You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.

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

Ios

Optional button configuration to use for in-app messages sent to iOS devices.

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

object

Remarks

This button configuration overrides the default button configuration.

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

Web

Optional button configuration to use for in-app messages sent to web applications.

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

object

Remarks

This button configuration overrides the default button configuration.

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

Implements

CfnInAppTemplate.IButtonConfigProperty
Back to top Generated by DocFX