Skip to content
v2.278.0

CustomActionURLOperationProperty Struct ​

The URL operation that opens a link to another webpage.

Example ​

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
# 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
// 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();
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"
};
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 ​

urlTargetstringurl_targetstrurlTargetStringUrlTargetstringUrlTarget*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.
urlTemplatestringurl_templatestrurlTemplateStringUrlTemplatestringUrlTemplate*string required #
THe URL link of the `CustomActionURLOperation` .