Class CfnCampaignPropsMixin.InAppMessageButtonProperty
Specifies the configuration of a button that appears in an in-app message.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Pinpoint.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCampaignPropsMixin.InAppMessageButtonProperty : CfnCampaignPropsMixin.IInAppMessageButtonProperty
Syntax (vb)
Public Class CfnCampaignPropsMixin.InAppMessageButtonProperty Implements CfnCampaignPropsMixin.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.Mixins.Preview.AWS.Pinpoint.Mixins;
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() | Specifies the configuration of a button that appears in an in-app message. |
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()
Specifies the configuration of a button that appears in an in-app message.
public InAppMessageButtonProperty()
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.Mixins.Preview.AWS.Pinpoint.Mixins;
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"
}
};
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
Remarks
DefaultConfig
An object that defines the default behavior for a button in an in-app message.
public object? DefaultConfig { get; set; }
Property Value
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
Remarks
Web
An object that defines the default behavior for a button in in-app messages for web applications.
public object? Web { get; set; }