aws-cdk-lib.aws_pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty

interface OverrideButtonConfigurationProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnInAppTemplate_OverrideButtonConfigurationProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty
Pythonaws_cdk.aws_pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty
TypeScript aws-cdk-lib » 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 { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const overrideButtonConfigurationProperty: pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty = {
  buttonAction: 'buttonAction',
  link: 'link',
};

Properties

NameTypeDescription
buttonAction?stringThe action that occurs when a recipient chooses a button in an in-app message.
link?stringThe 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.