Components

Type: aws:core:glueTable

Synopsis

Create an AWS Glue Table.

Description

A simple way to create a managed Glue table within a project.

tableName: string
    The name of the table.

databaseRef: string
    The ref or arn of the database.

pathURI: string
    A URI to the location of the table data.

schema.columns: {name:..., type:..., comment:...}
    The columns of the table.

schema.partitions: {name:..., type:..., comment:...}
    The partition keys of the table.

schema.dataFormat: parquet|orc|avro|json|csv|tsv|cloudtrail_logs|apache_logs

removeOnDestroy: true|false
    Configured with the following:
        .removalPolicy(removeOnDestroy ? RemovalPolicy.DESTROY : RemovalPolicy.RETAIN)

tags: { key: value, ... }
    Tags to apply to the bucket.

Template

Required

{
  "type" : "aws:core:glueTable",
  "name" : null,
  "databaseRef" : null,
  "tableName" : null,
  "pathURI" : null
}

All

{
  "type" : "aws:core:glueTable",
  "name" : null,
  "exclude" : false,
  "databaseRef" : null,
  "tableName" : null,
  "description" : null,
  "schema" : {
    "columns" : [ ],
    "partitions" : [ ],
    "dataFormat" : null
  },
  "pathURI" : null,
  "removeOnDestroy" : false,
  "tags" : { }
}