Show / Hide Table of Contents

Class CfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty

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

Inheritance
object
CfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty
Implements
CfnInAppTemplatePropsMixin.IDefaultButtonConfigurationProperty
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 CfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty : CfnInAppTemplatePropsMixin.IDefaultButtonConfigurationProperty
Syntax (vb)
Public Class CfnInAppTemplatePropsMixin.DefaultButtonConfigurationProperty Implements CfnInAppTemplatePropsMixin.IDefaultButtonConfigurationProperty
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-defaultbuttonconfiguration.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 defaultButtonConfigurationProperty = new DefaultButtonConfigurationProperty {
                 BackgroundColor = "backgroundColor",
                 BorderRadius = 123,
                 ButtonAction = "buttonAction",
                 Link = "link",
                 Text = "text",
                 TextColor = "textColor"
             };

Synopsis

Constructors

DefaultButtonConfigurationProperty()

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

Properties

BackgroundColor

The background color of a button, expressed as a hex color code (such as #000000 for black).

BorderRadius

The border radius of a button.

ButtonAction

The action that occurs when a recipient chooses a button in an in-app message.

Link

The destination (such as a URL) for a button.

Text

The text that appears on a button in an in-app message.

TextColor

The color of the body text in a button, expressed as a hex color code (such as #000000 for black).

Constructors

DefaultButtonConfigurationProperty()

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

public DefaultButtonConfigurationProperty()
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-defaultbuttonconfiguration.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 defaultButtonConfigurationProperty = new DefaultButtonConfigurationProperty {
                 BackgroundColor = "backgroundColor",
                 BorderRadius = 123,
                 ButtonAction = "buttonAction",
                 Link = "link",
                 Text = "text",
                 TextColor = "textColor"
             };

Properties

BackgroundColor

The background color of a button, expressed as a hex color code (such as #000000 for black).

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

string

Remarks

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

BorderRadius

The border radius of a button.

public double? BorderRadius { get; set; }
Property Value

double?

Remarks

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

ButtonAction

The action that occurs when a recipient chooses a button in an in-app message.

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

string

Remarks

You can specify one of the following:

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

    Link

    The destination (such as a URL) for a button.

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

    string

    Remarks

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

    Text

    The text that appears on a button in an in-app message.

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

    string

    Remarks

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

    TextColor

    The color of the body text in a button, expressed as a hex color code (such as #000000 for black).

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

    string

    Remarks

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

    Implements

    CfnInAppTemplatePropsMixin.IDefaultButtonConfigurationProperty
    Back to top Generated by DocFX