Skip to content
v2.278.0

VisualTitleLabelOptionsProperty Struct ​

The title 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 visualTitleLabelOptionsProperty: quicksight.CfnTemplate.VisualTitleLabelOptionsProperty = {
  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_title_label_options_property = quicksight.CfnTemplate.VisualTitleLabelOptionsProperty(
    format_text=quicksight.CfnTemplate.ShortFormatTextProperty(
        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.*;

VisualTitleLabelOptionsProperty visualTitleLabelOptionsProperty = VisualTitleLabelOptionsProperty.builder()
        .formatText(ShortFormatTextProperty.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 visualTitleLabelOptionsProperty = new VisualTitleLabelOptionsProperty {
    FormatText = new ShortFormatTextProperty {
        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"

visualTitleLabelOptionsProperty := &VisualTitleLabelOptionsProperty{
	FormatText: &ShortFormatTextProperty{
		PlainText: jsii.String("plainText"),
		RichText: jsii.String("richText"),
	},
	Visibility: jsii.String("visibility"),
}

Properties ​

formatTextoptionalIResolvable | CfnTemplate.ShortFormatTextPropertyformat_textoptionaltyping.Union[IResolvable, ShortFormatTextProperty]formatTextoptionalIResolvableFormatTextoptionalIResolvableFormatTextoptionalinterface{} #
The short text format of the title label, such as plain text or rich text.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string #
The visibility of the title label.