Skip to content
v2.278.0

RenameColumnOperationProperty Struct ​

A transform operation that renames a column.

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 renameColumnOperationProperty: quicksight.CfnDataSet.RenameColumnOperationProperty = {
  columnName: 'columnName',
  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

rename_column_operation_property = quicksight.CfnDataSet.RenameColumnOperationProperty(
    column_name="columnName",
    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.*;

RenameColumnOperationProperty renameColumnOperationProperty = RenameColumnOperationProperty.builder()
        .columnName("columnName")
        .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 renameColumnOperationProperty = new RenameColumnOperationProperty {
    ColumnName = "columnName",
    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"

renameColumnOperationProperty := &RenameColumnOperationProperty{
	ColumnName: jsii.String("columnName"),
	NewColumnName: jsii.String("newColumnName"),
}

Properties ​

columnNamestringcolumn_namestrcolumnNameStringColumnNamestringColumnName*string required #
The name of the column to be renamed.
newColumnNamestringnew_column_namestrnewColumnNameStringNewColumnNamestringNewColumnName*string required #
The new name for the column.