interface OverrideButtonConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Pinpoint.CfnCampaign.OverrideButtonConfigurationProperty |
![]() | software.amazon.awscdk.services.pinpoint.CfnCampaign.OverrideButtonConfigurationProperty |
![]() | aws_cdk.aws_pinpoint.CfnCampaign.OverrideButtonConfigurationProperty |
![]() | @aws-cdk/aws-pinpoint » CfnCampaign » 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.CfnCampaign.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.