interface OverrideButtonConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty |
Python | aws_cdk.aws_pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty |
TypeScript | @aws-cdk/aws-pinpoint » CfnInAppTemplate » OverrideButtonConfigurationProperty |
Specifies the configuration of a button with settings that are specific to a certain device type.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as pinpoint from '@aws-cdk/aws-pinpoint';
const overrideButtonConfigurationProperty: pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty = {
buttonAction: 'buttonAction',
link: 'link',
};
Properties
| Name | Type | Description |
|---|---|---|
| button | string | The action that occurs when a recipient chooses a button in an in-app message. |
| link? | string | The destination (such as a URL) for a button. |
buttonAction?
Type:
string
(optional)
The action that occurs when a recipient chooses a button in an in-app message.
You can specify one of the following:
LINK– A link to a web destination.DEEP_LINK– A link to a specific page in an application.CLOSE– Dismisses the message.
link?
Type:
string
(optional)
The destination (such as a URL) for a button.

.NET
Java
Python
TypeScript