interface CastColumnTypesOperationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnDataSet.CastColumnTypesOperationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDataSet_CastColumnTypesOperationProperty |
Java | software.amazon.awscdk.services.quicksight.CfnDataSet.CastColumnTypesOperationProperty |
Python | aws_cdk.aws_quicksight.CfnDataSet.CastColumnTypesOperationProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnDataSet » CastColumnTypesOperationProperty |
A transform operation that changes the data types of one or more columns in the dataset.
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 castColumnTypesOperationProperty: quicksight.CfnDataSet.CastColumnTypesOperationProperty = {
alias: 'alias',
castColumnTypeOperations: [{
columnName: 'columnName',
newColumnType: 'newColumnType',
// the properties below are optional
format: 'format',
subType: 'subType',
}],
source: {
transformOperationId: 'transformOperationId',
// the properties below are optional
columnIdMappings: [{
sourceColumnId: 'sourceColumnId',
targetColumnId: 'targetColumnId',
}],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| alias | string | Alias for this operation. |
| cast | IResolvable | (IResolvable | Cast)[] | The list of column type casting operations to perform. |
| source | IResolvable | Transform | The source transform operation that provides input data for the type casting. |
alias
Type:
string
Alias for this operation.
castColumnTypeOperations
Type:
IResolvable | (IResolvable | Cast)[]
The list of column type casting operations to perform.
source
Type:
IResolvable | Transform
The source transform operation that provides input data for the type casting.

.NET
Go
Java
Python
TypeScript