Skip to content
v2.278.0

ShortFormatTextProperty Struct ​

The text format for the title.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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 shortFormatTextProperty: quicksight.CfnAnalysis.ShortFormatTextProperty = {
  plainText: 'plainText',
  richText: 'richText',
};
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

short_format_text_property = quicksight.CfnAnalysis.ShortFormatTextProperty(
    plain_text="plainText",
    rich_text="richText"
)
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.*;

ShortFormatTextProperty shortFormatTextProperty = ShortFormatTextProperty.builder()
        .plainText("plainText")
        .richText("richText")
        .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 shortFormatTextProperty = new ShortFormatTextProperty {
    PlainText = "plainText",
    RichText = "richText"
};
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"

shortFormatTextProperty := &ShortFormatTextProperty{
	PlainText: jsii.String("plainText"),
	RichText: jsii.String("richText"),
}

Properties ​

plainTextoptionalstringplain_textoptionalstrplainTextoptionalStringPlainTextoptionalstringPlainTextoptional*string #
Plain text format.
richTextoptionalstringrich_textoptionalstrrichTextoptionalStringRichTextoptionalstringRichTextoptional*string #
Rich text.

Examples of rich text include bold, underline, and italics.