Interface CfnCampaign.IInAppMessageButtonProperty
Specifies the configuration of a button that appears in an in-app message.
Namespace: Amazon.CDK.AWS.Pinpoint
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnCampaign.IInAppMessageButtonProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Android
An object that defines the default behavior for a button in in-app messages sent to Android.
object? Android { get; }
Property Value
Remarks
DefaultConfig
An object that defines the default behavior for a button in an in-app message.
object? DefaultConfig { get; }
Property Value
Remarks
Ios
An object that defines the default behavior for a button in in-app messages sent to iOS devices.
object? Ios { get; }
Property Value
Remarks
Web
An object that defines the default behavior for a button in in-app messages for web applications.
object? Web { get; }