PivotedLabelProperty Struct
Specifies a label value to be pivoted into a separate column, including the new column name and identifier.
| Source | |
|---|---|
| Type last changed |
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 pivotedLabelProperty: quicksight.CfnDataSet.PivotedLabelProperty = {
labelName: 'labelName',
newColumnId: 'newColumnId',
newColumnName: 'newColumnName',
};
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
pivoted_label_property = quicksight.CfnDataSet.PivotedLabelProperty(
label_name="labelName",
new_column_id="newColumnId",
new_column_name="newColumnName"
)
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.*;
PivotedLabelProperty pivotedLabelProperty = PivotedLabelProperty.builder()
.labelName("labelName")
.newColumnId("newColumnId")
.newColumnName("newColumnName")
.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 pivotedLabelProperty = new PivotedLabelProperty {
LabelName = "labelName",
NewColumnId = "newColumnId",
NewColumnName = "newColumnName"
};
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"
pivotedLabelProperty := &PivotedLabelProperty{
LabelName: jsii.String("labelName"),
NewColumnId: jsii.String("newColumnId"),
NewColumnName: jsii.String("newColumnName"),
}
Properties
The label value from the source data to be pivoted.
A unique identifier for the new column created from this pivoted label.
newColumnNamestringnew_column_namestrnewColumnNameStringNewColumnNamestringNewColumnName*string required #The name for the new column created from this pivoted label.