aws-cdk-lib.aws_pinpoint.CfnInAppTemplate.ButtonConfigProperty

interface ButtonConfigProperty

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

Specifies the behavior of buttons that appear in an in-app message template.

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 buttonConfigProperty: pinpoint.CfnInAppTemplate.ButtonConfigProperty = {
  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 | OverrideButtonConfigurationPropertyOptional button configuration to use for in-app messages sent to Android devices.
defaultConfig?IResolvable | DefaultButtonConfigurationPropertySpecifies the default behavior of a button that appears in an in-app message.
ios?IResolvable | OverrideButtonConfigurationPropertyOptional button configuration to use for in-app messages sent to iOS devices.
web?IResolvable | OverrideButtonConfigurationPropertyOptional button configuration to use for in-app messages sent to web applications.

android?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

Optional button configuration to use for in-app messages sent to Android devices.

This button configuration overrides the default button configuration.


defaultConfig?

Type: IResolvable | DefaultButtonConfigurationProperty (optional)

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

You can optionally add button configurations that specifically apply to iOS, Android, or web browser users.


ios?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

Optional button configuration to use for in-app messages sent to iOS devices.

This button configuration overrides the default button configuration.


web?

Type: IResolvable | OverrideButtonConfigurationProperty (optional)

Optional button configuration to use for in-app messages sent to web applications.

This button configuration overrides the default button configuration.