Skip to content
v2.277.0

DataPathLabelTypeProperty Struct ​

The option that specifies individual data values for labels.

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 dataPathLabelTypeProperty: quicksight.CfnAnalysis.DataPathLabelTypeProperty = {
  fieldId: 'fieldId',
  fieldValue: 'fieldValue',
  visibility: 'visibility',
};
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

data_path_label_type_property = quicksight.CfnAnalysis.DataPathLabelTypeProperty(
    field_id="fieldId",
    field_value="fieldValue",
    visibility="visibility"
)
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.*;

DataPathLabelTypeProperty dataPathLabelTypeProperty = DataPathLabelTypeProperty.builder()
        .fieldId("fieldId")
        .fieldValue("fieldValue")
        .visibility("visibility")
        .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 dataPathLabelTypeProperty = new DataPathLabelTypeProperty {
    FieldId = "fieldId",
    FieldValue = "fieldValue",
    Visibility = "visibility"
};
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"

dataPathLabelTypeProperty := &DataPathLabelTypeProperty{
	FieldId: jsii.String("fieldId"),
	FieldValue: jsii.String("fieldValue"),
	Visibility: jsii.String("visibility"),
}

Properties ​

fieldIdoptionalstringfield_idoptionalstrfieldIdoptionalStringFieldIdoptionalstringFieldIdoptional*string#
The field ID of the field that the data label needs to be applied to.
fieldValueoptionalstringfield_valueoptionalstrfieldValueoptionalStringFieldValueoptionalstringFieldValueoptional*string#
The actual value of the field that is labeled.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string#
The visibility of the data label.