interface UnpivotOperationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins.CfnDataSetPropsMixin.UnpivotOperationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsquicksight/mixins#CfnDataSetPropsMixin_UnpivotOperationProperty |
Java | software.amazon.awscdk.mixins.preview.services.quicksight.mixins.CfnDataSetPropsMixin.UnpivotOperationProperty |
Python | aws_cdk.mixins_preview.aws_quicksight.mixins.CfnDataSetPropsMixin.UnpivotOperationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_quicksight » mixins » CfnDataSetPropsMixin » UnpivotOperationProperty |
A transform operation that converts columns into rows, normalizing the data structure.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as quicksight_mixins } from '@aws-cdk/mixins-preview/aws-quicksight';
const unpivotOperationProperty: quicksight_mixins.CfnDataSetPropsMixin.UnpivotOperationProperty = {
alias: 'alias',
columnsToUnpivot: [{
columnName: 'columnName',
newValue: 'newValue',
}],
source: {
columnIdMappings: [{
sourceColumnId: 'sourceColumnId',
targetColumnId: 'targetColumnId',
}],
transformOperationId: 'transformOperationId',
},
unpivotedLabelColumnId: 'unpivotedLabelColumnId',
unpivotedLabelColumnName: 'unpivotedLabelColumnName',
unpivotedValueColumnId: 'unpivotedValueColumnId',
unpivotedValueColumnName: 'unpivotedValueColumnName',
};
Properties
| Name | Type | Description |
|---|---|---|
| alias? | string | Alias for this operation. |
| columns | IResolvable | (IResolvable | Column)[] | The list of columns to unpivot from the source data. |
| source? | IResolvable | Transform | The source transform operation that provides input data for unpivoting. |
| unpivoted | string | A unique identifier for the new column that will contain the unpivoted column names. |
| unpivoted | string | The name for the new column that will contain the unpivoted column names. |
| unpivoted | string | A unique identifier for the new column that will contain the unpivoted values. |
| unpivoted | string | The name for the new column that will contain the unpivoted values. |
alias?
Type:
string
(optional)
Alias for this operation.
columnsToUnpivot?
Type:
IResolvable | (IResolvable | Column)[]
(optional)
The list of columns to unpivot from the source data.
source?
Type:
IResolvable | Transform
(optional)
The source transform operation that provides input data for unpivoting.
unpivotedLabelColumnId?
Type:
string
(optional)
A unique identifier for the new column that will contain the unpivoted column names.
unpivotedLabelColumnName?
Type:
string
(optional)
The name for the new column that will contain the unpivoted column names.
unpivotedValueColumnId?
Type:
string
(optional)
A unique identifier for the new column that will contain the unpivoted values.
unpivotedValueColumnName?
Type:
string
(optional)
The name for the new column that will contain the unpivoted values.

.NET
Go
Java
Python
TypeScript