Skip to content
v2.278.0

ContextMenuOptionProperty Struct ​

The context menu options for a visual's interactions.

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 contextMenuOptionProperty: quicksight.CfnTemplate.ContextMenuOptionProperty = {
  availabilityStatus: 'availabilityStatus',
};
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

context_menu_option_property = quicksight.CfnTemplate.ContextMenuOptionProperty(
    availability_status="availabilityStatus"
)
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.*;

ContextMenuOptionProperty contextMenuOptionProperty = ContextMenuOptionProperty.builder()
        .availabilityStatus("availabilityStatus")
        .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 contextMenuOptionProperty = new ContextMenuOptionProperty {
    AvailabilityStatus = "availabilityStatus"
};
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"

contextMenuOptionProperty := &ContextMenuOptionProperty{
	AvailabilityStatus: jsii.String("availabilityStatus"),
}

Properties ​

availabilityStatusoptionalstringavailability_statusoptionalstravailabilityStatusoptionalStringAvailabilityStatusoptionalstringAvailabilityStatusoptional*string #
The availability status of the context menu options.

If the value of this property is set to ENABLED , dashboard readers can interact with the context menu.