# CustomActionURLOperationProperty

The URL operation that opens a link to another webpage.

- 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_quicksight as quicksight } from 'aws-cdk-lib';
const customActionURLOperationProperty: quicksight.CfnAnalysis.CustomActionURLOperationProperty = {
  urlTarget: 'urlTarget',
  urlTemplate: 'urlTemplate',
};
```

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_quicksight as quicksight

custom_action_url_operation_property = quicksight.CfnAnalysis.CustomActionURLOperationProperty(
    url_target="urlTarget",
    url_template="urlTemplate"
)
```

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.quicksight.*;

CustomActionURLOperationProperty customActionURLOperationProperty = CustomActionURLOperationProperty.builder()
        .urlTarget("urlTarget")
        .urlTemplate("urlTemplate")
        .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.QuickSight;

var customActionURLOperationProperty = new CustomActionURLOperationProperty {
    UrlTarget = "urlTarget",
    UrlTemplate = "urlTemplate"
};
```

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"

customActionURLOperationProperty := &CustomActionURLOperationProperty{
	UrlTarget: jsii.String("urlTarget"),
	UrlTemplate: jsii.String("urlTemplate"),
}
```

## Properties

- `urlTarget`: string (required) — The target of the `CustomActionURLOperation` .

  Valid values are defined as follows:

  - `NEW_TAB` : Opens the target URL in a new browser tab.
  - `NEW_WINDOW` : Opens the target URL in a new browser window.
  - `SAME_TAB` : Opens the target URL in the same browser tab.

- `urlTemplate`: string (required) — THe URL link of the `CustomActionURLOperation` .
