# DisplayFormatOptionsProperty

A structure that represents additional options for display formatting.

- 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 displayFormatOptionsProperty: quicksight.CfnTopic.DisplayFormatOptionsProperty = {
  blankCellFormat: 'blankCellFormat',
  currencySymbol: 'currencySymbol',
  dateFormat: 'dateFormat',
  decimalSeparator: 'decimalSeparator',
  fractionDigits: 123,
  groupingSeparator: 'groupingSeparator',
  negativeFormat: {
    prefix: 'prefix',
    suffix: 'suffix',
  },
  prefix: 'prefix',
  suffix: 'suffix',
  unitScaler: 'unitScaler',
  useBlankCellFormat: false,
  useGrouping: false,
};
```

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

display_format_options_property = quicksight.CfnTopic.DisplayFormatOptionsProperty(
    blank_cell_format="blankCellFormat",
    currency_symbol="currencySymbol",
    date_format="dateFormat",
    decimal_separator="decimalSeparator",
    fraction_digits=123,
    grouping_separator="groupingSeparator",
    negative_format=quicksight.CfnTopic.NegativeFormatProperty(
        prefix="prefix",
        suffix="suffix"
    ),
    prefix="prefix",
    suffix="suffix",
    unit_scaler="unitScaler",
    use_blank_cell_format=False,
    use_grouping=False
)
```

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

DisplayFormatOptionsProperty displayFormatOptionsProperty = DisplayFormatOptionsProperty.builder()
        .blankCellFormat("blankCellFormat")
        .currencySymbol("currencySymbol")
        .dateFormat("dateFormat")
        .decimalSeparator("decimalSeparator")
        .fractionDigits(123)
        .groupingSeparator("groupingSeparator")
        .negativeFormat(NegativeFormatProperty.builder()
                .prefix("prefix")
                .suffix("suffix")
                .build())
        .prefix("prefix")
        .suffix("suffix")
        .unitScaler("unitScaler")
        .useBlankCellFormat(false)
        .useGrouping(false)
        .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 displayFormatOptionsProperty = new DisplayFormatOptionsProperty {
    BlankCellFormat = "blankCellFormat",
    CurrencySymbol = "currencySymbol",
    DateFormat = "dateFormat",
    DecimalSeparator = "decimalSeparator",
    FractionDigits = 123,
    GroupingSeparator = "groupingSeparator",
    NegativeFormat = new NegativeFormatProperty {
        Prefix = "prefix",
        Suffix = "suffix"
    },
    Prefix = "prefix",
    Suffix = "suffix",
    UnitScaler = "unitScaler",
    UseBlankCellFormat = false,
    UseGrouping = false
};
```

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"

displayFormatOptionsProperty := &DisplayFormatOptionsProperty{
	BlankCellFormat: jsii.String("blankCellFormat"),
	CurrencySymbol: jsii.String("currencySymbol"),
	DateFormat: jsii.String("dateFormat"),
	DecimalSeparator: jsii.String("decimalSeparator"),
	FractionDigits: jsii.Number(123),
	GroupingSeparator: jsii.String("groupingSeparator"),
	NegativeFormat: &NegativeFormatProperty{
		Prefix: jsii.String("prefix"),
		Suffix: jsii.String("suffix"),
	},
	Prefix: jsii.String("prefix"),
	Suffix: jsii.String("suffix"),
	UnitScaler: jsii.String("unitScaler"),
	UseBlankCellFormat: jsii.Boolean(false),
	UseGrouping: jsii.Boolean(false),
}
```

## Properties

- `blankCellFormat`: string — Determines the blank cell format.

- `currencySymbol`: string — The currency symbol, such as `USD` .

- `dateFormat`: string — Determines the `DateTime` format.

- `decimalSeparator`: string — Determines the decimal separator.

- `fractionDigits`: number = 0 — Determines the number of fraction digits.

- `groupingSeparator`: string — Determines the grouping separator.

- `negativeFormat`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTopic.NegativeFormatProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnTopic.NegativeFormatProperty.html) — The negative format.

- `prefix`: string — The prefix value for a display format.

- `suffix`: string — The suffix value for a display format.

- `unitScaler`: string — The unit scaler.

  Valid values for this structure are: `NONE` , `AUTO` , `THOUSANDS` , `MILLIONS` , `BILLIONS` , and `TRILLIONS` .

- `useBlankCellFormat`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — A Boolean value that indicates whether to use blank cell format.

- `useGrouping`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) = false — A Boolean value that indicates whether to use grouping.
