interface DataLabelTypeProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnTemplate.DataLabelTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnTemplate_DataLabelTypeProperty |
Java | software.amazon.awscdk.services.quicksight.CfnTemplate.DataLabelTypeProperty |
Python | aws_cdk.aws_quicksight.CfnTemplate.DataLabelTypeProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnTemplate » 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.
Example
// 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.CfnTemplate.DataLabelTypeProperty = {
dataPathLabelType: {
fieldId: 'fieldId',
fieldValue: 'fieldValue',
visibility: 'visibility',
},
fieldLabelType: {
fieldId: 'fieldId',
visibility: 'visibility',
},
maximumLabelType: {
visibility: 'visibility',
},
minimumLabelType: {
visibility: 'visibility',
},
rangeEndsLabelType: {
visibility: 'visibility',
},
};
Properties
Name | Type | Description |
---|---|---|
data | IResolvable | Data | The option that specifies individual data values for labels. |
field | IResolvable | Field | Determines the label configuration for the entire field. |
maximum | IResolvable | Maximum | Determines the label configuration for the maximum value in a visual. |
minimum | IResolvable | Minimum | Determines the label configuration for the minimum value in a visual. |
range | IResolvable | Range | Determines the label configuration for range end value in a visual. |
dataPathLabelType?
Type:
IResolvable
|
Data
(optional)
The option that specifies individual data values for labels.
fieldLabelType?
Type:
IResolvable
|
Field
(optional)
Determines the label configuration for the entire field.
maximumLabelType?
Type:
IResolvable
|
Maximum
(optional)
Determines the label configuration for the maximum value in a visual.
minimumLabelType?
Type:
IResolvable
|
Minimum
(optional)
Determines the label configuration for the minimum value in a visual.
rangeEndsLabelType?
Type:
IResolvable
|
Range
(optional)
Determines the label configuration for range end value in a visual.