# ColumnProperty

A column in a `Table` .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const columnProperty: glue.CfnTable.ColumnProperty = {
  name: 'name',

  // the properties below are optional
  comment: 'comment',
  type: 'type',
};
```

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_glue as glue

column_property = glue.CfnTable.ColumnProperty(
    name="name",

    # the properties below are optional
    comment="comment",
    type="type"
)
```

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

ColumnProperty columnProperty = ColumnProperty.builder()
        .name("name")

        // the properties below are optional
        .comment("comment")
        .type("type")
        .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.Glue;

var columnProperty = new ColumnProperty {
    Name = "name",

    // the properties below are optional
    Comment = "comment",
    Type = "type"
};
```

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"

columnProperty := &ColumnProperty{
	Name: jsii.String("name"),

	// the properties below are optional
	Comment: jsii.String("comment"),
	Type: jsii.String("type"),
}
```

## Properties

- `comment`: string — A free-form text comment.

- `name`: string (required) — The name of the `Column` .

- `type`: string — The data type of the `Column` .
