@aws-cdk_aws-glue-alpha.Type

interface Type ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.Type
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#Type
Javasoftware.amazon.awscdk.services.glue.alpha.Type
Pythonaws_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.Table(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

NameTypeDescription
inputString๐Ÿ”นstringGlue InputString for this type.
isPrimitive๐Ÿ”นbooleanIndicates 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.