Skip to content
v2.278.0

OverrideButtonConfigurationProperty Struct ​

Specifies the configuration of a button with settings that are specific to a certain device type.

Example ​

ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint

override_button_configuration_property = pinpoint.CfnInAppTemplate.OverrideButtonConfigurationProperty(
    button_action="buttonAction",
    link="link"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;

OverrideButtonConfigurationProperty overrideButtonConfigurationProperty = OverrideButtonConfigurationProperty.builder()
        .buttonAction("buttonAction")
        .link("link")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;

var overrideButtonConfigurationProperty = new OverrideButtonConfigurationProperty {
    ButtonAction = "buttonAction",
    Link = "link"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

overrideButtonConfigurationProperty := &OverrideButtonConfigurationProperty{
	ButtonAction: jsii.String("buttonAction"),
	Link: jsii.String("link"),
}

Properties ​

buttonActionoptionalstringbutton_actionoptionalstrbuttonActionoptionalStringButtonActionoptionalstringButtonActionoptional*string #
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.