interface Type
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.Type |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Type |
Java | software.amazon.awscdk.services.glue.alpha.Type |
Python | aws_cdk.aws_glue_alpha.Type |
TypeScript (source) | @aws-cdk/aws-glue-alpha » Type |
Obtainable from
Schema.array(), Schema.char(), Schema.decimal(), Schema.map(), Schema.struct(), Schema.varchar()
Represents a type of a column in a table schema.
Example
declare const myDatabase: glue.Database;
new glue.S3Table(this, 'MyTable', {
database: myDatabase,
columns: [{
name: 'col1',
type: glue.Schema.STRING,
}],
partitionKeys: [{
name: 'year',
type: glue.Schema.SMALL_INT,
}, {
name: 'month',
type: glue.Schema.SMALL_INT,
}],
dataFormat: glue.DataFormat.JSON,
});
Properties
| Name | Type | Description |
|---|---|---|
| input | string | Glue InputString for this type. |
| is | boolean | Indicates whether this type is a primitive data type. |
inputString
Type:
string
Glue InputString for this type.
isPrimitive
Type:
boolean
Indicates whether this type is a primitive data type.

.NET
Go
Java
Python
TypeScript (