Skip to content
v2.277.0

PivotTableFieldOptionProperty Struct ​

The selected field options for the pivot table field options.

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 pivotTableFieldOptionProperty: quicksight.CfnAnalysis.PivotTableFieldOptionProperty = {
  fieldId: 'fieldId',

  // the properties below are optional
  customLabel: 'customLabel',
  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

pivot_table_field_option_property = quicksight.CfnAnalysis.PivotTableFieldOptionProperty(
    field_id="fieldId",

    # the properties below are optional
    custom_label="customLabel",
    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.*;

PivotTableFieldOptionProperty pivotTableFieldOptionProperty = PivotTableFieldOptionProperty.builder()
        .fieldId("fieldId")

        // the properties below are optional
        .customLabel("customLabel")
        .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 pivotTableFieldOptionProperty = new PivotTableFieldOptionProperty {
    FieldId = "fieldId",

    // the properties below are optional
    CustomLabel = "customLabel",
    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"

pivotTableFieldOptionProperty := &PivotTableFieldOptionProperty{
	FieldId: jsii.String("fieldId"),

	// the properties below are optional
	CustomLabel: jsii.String("customLabel"),
	Visibility: jsii.String("visibility"),
}

Properties ​

customLabeloptionalstringcustom_labeloptionalstrcustomLabeloptionalStringCustomLabeloptionalstringCustomLabeloptional*string#
The custom label of the pivot table field.
fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*stringrequired#
The field ID of the pivot table field.
visibilityoptionalstringvisibilityoptionalstrvisibilityoptionalStringVisibilityoptionalstringVisibilityoptional*string#
The visibility of the pivot table field.