# ShortFormatTextProperty

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.

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

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

short_format_text_property = quicksight.CfnAnalysis.ShortFormatTextProperty(
    plain_text="plainText",
    rich_text="richText"
)
```

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

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

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"

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

## Properties

- `plainText`: string — Plain text format.

- `richText`: string — Rich text.

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