interface Type
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Type |
Java | software.amazon.awscdk.services.glue.Type |
Python | aws_cdk.aws_glue.Type |
TypeScript (source) | @aws-cdk/aws-glue » 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.Table(this, 'MyTable', {
database: myDatabase,
tableName: 'my_table',
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
Java
Python
TypeScript (