Show / Hide Table of Contents

Interface CfnCampaign.IDefaultButtonConfigurationProperty

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

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

             var defaultButtonConfigurationProperty = new DefaultButtonConfigurationProperty {
                 BackgroundColor = "backgroundColor",
                 BorderRadius = 123,
                 ButtonAction = "buttonAction",
                 Link = "link",
                 Text = "text",
                 TextColor = "textColor"
             };

Synopsis

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).

Properties

BackgroundColor

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

string? BackgroundColor { get; }
Property Value

string

Remarks

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

BorderRadius

The border radius of a button.

double? BorderRadius { get; }
Property Value

double?

Remarks

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

ButtonAction

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

string? ButtonAction { get; }
Property Value

string

Remarks

You can specify one of the following:

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

    Link

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

    string? Link { get; }
    Property Value

    string

    Remarks

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

    Text

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

    string? Text { get; }
    Property Value

    string

    Remarks

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

    TextColor

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

    string? TextColor { get; }
    Property Value

    string

    Remarks

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

    Back to top Generated by DocFX