Class CfnCampaign.InAppMessageButtonProperty
Specifies the configuration of a button that appears in an in-app message.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InAppMessageButtonProperty : Object, CfnCampaign.IInAppMessageButtonProperty
Syntax (vb)
Public Class InAppMessageButtonProperty
Inherits Object
Implements CfnCampaign.IInAppMessageButtonProperty
Remarks
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 inAppMessageButtonProperty = new InAppMessageButtonProperty {
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
InAppMessageButtonProperty() |
Properties
Android | An object that defines the default behavior for a button in in-app messages sent to Android. |
DefaultConfig | An object that defines the default behavior for a button in an in-app message. |
Ios | An object that defines the default behavior for a button in in-app messages sent to iOS devices. |
Web | An object that defines the default behavior for a button in in-app messages for web applications. |
Constructors
InAppMessageButtonProperty()
public InAppMessageButtonProperty()
Properties
Android
An object that defines the default behavior for a button in in-app messages sent to Android.
public object Android { get; set; }
Property Value
System.Object
Remarks
DefaultConfig
An object that defines the default behavior for a button in an in-app message.
public object DefaultConfig { get; set; }
Property Value
System.Object
Remarks
Ios
An object that defines the default behavior for a button in in-app messages sent to iOS devices.
public object Ios { get; set; }
Property Value
System.Object
Remarks
Web
An object that defines the default behavior for a button in in-app messages for web applications.
public object Web { get; set; }
Property Value
System.Object