# OverrideButtonConfigurationProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `buttonAction`: 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.

- `link`: string — The destination (such as a URL) for a button.
