aws-cdk-lib.aws_pinpoint.CfnCampaign.InAppMessageButtonProperty

interface InAppMessageButtonProperty

LanguageType name
.NETAmazon.CDK.AWS.Pinpoint.CfnCampaign.InAppMessageButtonProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_InAppMessageButtonProperty
Javasoftware.amazon.awscdk.services.pinpoint.CfnCampaign.InAppMessageButtonProperty
Pythonaws_cdk.aws_pinpoint.CfnCampaign.InAppMessageButtonProperty
TypeScript aws-cdk-lib » aws_pinpoint » CfnCampaign » InAppMessageButtonProperty

Specifies the configuration of a button that appears in an in-app message.

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 inAppMessageButtonProperty: pinpoint.CfnCampaign.InAppMessageButtonProperty = {
  android: {
    buttonAction: 'buttonAction',
    link: 'link',
  },
  defaultConfig: {
    backgroundColor: 'backgroundColor',
    borderRadius: 123,
    buttonAction: 'buttonAction',
    link: 'link',
    text: 'text',
    textColor: 'textColor',
  },
  ios: {
    buttonAction: 'buttonAction',
    link: 'link',
  },
  web: {
    buttonAction: 'buttonAction',
    link: 'link',
  },
};

Properties

NameTypeDescription
android?IResolvable | OverrideButtonConfigurationPropertyAn object that defines the default behavior for a button in in-app messages sent to Android.
defaultConfig?IResolvable | DefaultButtonConfigurationPropertyAn object that defines the default behavior for a button in an in-app message.
ios?IResolvable | OverrideButtonConfigurationPropertyAn object that defines the default behavior for a button in in-app messages sent to iOS devices.
web?IResolvable | OverrideButtonConfigurationPropertyAn object that defines the default behavior for a button in in-app messages for web applications.

android?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

An object that defines the default behavior for a button in in-app messages sent to Android.


defaultConfig?

Type: IResolvable | DefaultButtonConfigurationProperty (optional)

An object that defines the default behavior for a button in an in-app message.


ios?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

An object that defines the default behavior for a button in in-app messages sent to iOS devices.


web?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

An object that defines the default behavior for a button in in-app messages for web applications.