# DataLabelTypeProperty

The option that determines the data label type.

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

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 dataLabelTypeProperty: quicksight.CfnAnalysis.DataLabelTypeProperty = {
  dataPathLabelType: {
    fieldId: 'fieldId',
    fieldValue: 'fieldValue',
    visibility: 'visibility',
  },
  fieldLabelType: {
    fieldId: 'fieldId',
    visibility: 'visibility',
  },
  maximumLabelType: {
    visibility: 'visibility',
  },
  minimumLabelType: {
    visibility: 'visibility',
  },
  rangeEndsLabelType: {
    visibility: 'visibility',
  },
};
```

## Properties

- `dataPathLabelType`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.DataPathLabelTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.DataPathLabelTypeProperty.html) — The option that specifies individual data values for labels.

- `fieldLabelType`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.FieldLabelTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.FieldLabelTypeProperty.html) — Determines the label configuration for the entire field.

- `maximumLabelType`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.MaximumLabelTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.MaximumLabelTypeProperty.html) — Determines the label configuration for the maximum value in a visual.

- `minimumLabelType`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.MinimumLabelTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.MinimumLabelTypeProperty.html) — Determines the label configuration for the minimum value in a visual.

- `rangeEndsLabelType`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAnalysis.RangeEndsLabelTypeProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnAnalysis.RangeEndsLabelTypeProperty.html) — Determines the label configuration for range end value in a visual.
