Column Struct
A column of a table.
| Source | aws-glue/lib/schema.ts |
|---|---|
| Type last changed |
Example
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';
declare const type: glue.Type;
const column: glue.Column = {
name: 'name',
type: type,
// the properties below are optional
comment: 'comment',
};
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
# type: glue.Type
column = glue.Column(
name="name",
type=type,
# the properties below are optional
comment="comment"
)
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.*;
Type type;
Column column = Column.builder()
.name("name")
.type(type)
// the properties below are optional
.comment("comment")
.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.Glue;
Type type;
var column = new Column {
Name = "name",
Type = type,
// the properties below are optional
Comment = "comment"
};
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"
var type Type
column := &Column{
Name: jsii.String("name"),
Type: type,
// the properties below are optional
Comment: jsii.String("comment"),
}