interface InAppMessageButtonProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Pinpoint.CfnCampaign.InAppMessageButtonProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awspinpoint#CfnCampaign_InAppMessageButtonProperty |
Java | software.amazon.awscdk.services.pinpoint.CfnCampaign.InAppMessageButtonProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
android? | IResolvable | Override | An object that defines the default behavior for a button in in-app messages sent to Android. |
default | IResolvable | Default | An object that defines the default behavior for a button in an in-app message. |
ios? | IResolvable | Override | An object that defines the default behavior for a button in in-app messages sent to iOS devices. |
web? | IResolvable | Override | An object that defines the default behavior for a button in in-app messages for web applications. |
android?
Type:
IResolvable
|
Override
(optional)
An object that defines the default behavior for a button in in-app messages sent to Android.
defaultConfig?
Type:
IResolvable
|
Default
(optional)
An object that defines the default behavior for a button in an in-app message.
ios?
Type:
IResolvable
|
Override
(optional)
An object that defines the default behavior for a button in in-app messages sent to iOS devices.
web?
Type:
IResolvable
|
Override
(optional)
An object that defines the default behavior for a button in in-app messages for web applications.