Class CfnInAppTemplate.ButtonConfigProperty
Specifies the behavior of buttons that appear in an in-app message template.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ButtonConfigProperty : Object, CfnInAppTemplate.IButtonConfigProperty
Syntax (vb)
Public Class ButtonConfigProperty
Inherits Object
Implements CfnInAppTemplate.IButtonConfigProperty
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 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
Button |
Properties
Android | Optional button configuration to use for in-app messages sent to Android devices. |
Default |
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()
public ButtonConfigProperty()
Properties
Android
Optional button configuration to use for in-app messages sent to Android devices.
public object Android { get; set; }
Property Value
System.
Remarks
This button configuration overrides the default button configuration.
DefaultConfig
Specifies the default behavior of a button that appears in an in-app message.
public object DefaultConfig { get; set; }
Property Value
System.
Remarks
You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.
Ios
Optional button configuration to use for in-app messages sent to iOS devices.
public object Ios { get; set; }
Property Value
System.
Remarks
This button configuration overrides the default button configuration.
Web
Optional button configuration to use for in-app messages sent to web applications.
public object Web { get; set; }
Property Value
System.
Remarks
This button configuration overrides the default button configuration.