# ContextMenuOptionProperty

The context menu options for a visual's interactions.

- Source: Generated at build time
- Type last changed: v2.183.0 · 12 Mar 2025

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

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

context_menu_option_property = quicksight.CfnTemplate.ContextMenuOptionProperty(
    availability_status="availabilityStatus"
)
```

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

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

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"

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

## Properties

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