Skip to content
v2.278.0

VisualSubtitleLabelOptionsProperty Struct ​

The subtitle label options for a visual.

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

formatTextoptionalIResolvable | CfnAnalysis.LongFormatTextPropertyformat_textoptionaltyping.Union[IResolvable, LongFormatTextProperty]formatTextoptionalIResolvableFormatTextoptionalIResolvableFormatTextoptionalinterface{} #
The long text format of the subtitle label, such as plain text or rich text.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string #
The visibility of the subtitle label.