# VisualSubtitleLabelOptionsProperty

The subtitle label options for a visual.

- 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 visualSubtitleLabelOptionsProperty: quicksight.CfnAnalysis.VisualSubtitleLabelOptionsProperty = {
  formatText: {
    plainText: 'plainText',
    richText: 'richText',
  },
  visibility: 'visibility',
};
```

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

visual_subtitle_label_options_property = quicksight.CfnAnalysis.VisualSubtitleLabelOptionsProperty(
    format_text=quicksight.CfnAnalysis.LongFormatTextProperty(
        plain_text="plainText",
        rich_text="richText"
    ),
    visibility="visibility"
)
```

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

VisualSubtitleLabelOptionsProperty visualSubtitleLabelOptionsProperty = VisualSubtitleLabelOptionsProperty.builder()
        .formatText(LongFormatTextProperty.builder()
                .plainText("plainText")
                .richText("richText")
                .build())
        .visibility("visibility")
        .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 visualSubtitleLabelOptionsProperty = new VisualSubtitleLabelOptionsProperty {
    FormatText = new LongFormatTextProperty {
        PlainText = "plainText",
        RichText = "richText"
    },
    Visibility = "visibility"
};
```

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"

visualSubtitleLabelOptionsProperty := &VisualSubtitleLabelOptionsProperty{
	FormatText: &LongFormatTextProperty{
		PlainText: jsii.String("plainText"),
		RichText: jsii.String("richText"),
	},
	Visibility: jsii.String("visibility"),
}
```

## Properties

- `formatText`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.LongFormatTextProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.LongFormatTextProperty.html) — The long text format of the subtitle label, such as plain text or rich text.

- `visibility`: string — The visibility of the subtitle label.
