# TransposedTableOptionProperty

The column option of the transposed table.

- Source: Generated at build time
- Type last changed: v2.190.0 · 17 Apr 2025

## Example

TypeScript:

```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 transposedTableOptionProperty: quicksight.CfnDashboard.TransposedTableOptionProperty = {
  columnType: 'columnType',

  // the properties below are optional
  columnIndex: 123,
  columnWidth: 'columnWidth',
};
```

Python:

```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

transposed_table_option_property = quicksight.CfnDashboard.TransposedTableOptionProperty(
    column_type="columnType",

    # the properties below are optional
    column_index=123,
    column_width="columnWidth"
)
```

Java:

```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.*;

TransposedTableOptionProperty transposedTableOptionProperty = TransposedTableOptionProperty.builder()
        .columnType("columnType")

        // the properties below are optional
        .columnIndex(123)
        .columnWidth("columnWidth")
        .build();
```

C# / .NET:

```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 transposedTableOptionProperty = new TransposedTableOptionProperty {
    ColumnType = "columnType",

    // the properties below are optional
    ColumnIndex = 123,
    ColumnWidth = "columnWidth"
};
```

Golang:

```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"

transposedTableOptionProperty := &TransposedTableOptionProperty{
	ColumnType: jsii.String("columnType"),

	// the properties below are optional
	ColumnIndex: jsii.Number(123),
	ColumnWidth: jsii.String("columnWidth"),
}
```

## Properties

- `columnIndex`: number — The index of a columns in a transposed table.

  The index range is 0-9999.

- `columnType`: string (required) — The column type of the column in a transposed table. Choose one of the following options:.

  - `ROW_HEADER_COLUMN` : Refers to the leftmost column of the row header in the transposed table.
  - `VALUE_COLUMN` : Refers to all value columns in the transposed table.

- `columnWidth`: string — The width of a column in a transposed table.
