AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Glue::Table

CfnTable

The `AWS::Glue::Table` resource specifies tabular data in the AWS Glue data catalog. For more information, see [Defining Tables in the AWS Glue Data Catalog](https://docs.aws.amazon.com/glue/latest/dg/tables-described.html) and [Table Structure](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-catalog-tables.html#aws-glue-api-catalog-tables-Table) in the *AWS Glue Developer Guide* .

Import

import { CfnTable } from 'aws-cdk-lib/aws-glue';

Or use the module namespace:

import * as glue from 'aws-cdk-lib/aws-glue';
// glue.CfnTable

Properties

Configuration passed to the constructor as CfnTableProps.

catalogIdRequired
string

The ID of the Data Catalog in which to create the `Table` .

databaseNameRequired
string

The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.

tableInputRequired
IResolvable | TableInputProperty

A structure used to define a table.

openTableFormatInputOptional
IResolvable | OpenTableFormatInputProperty

Specifies an `OpenTableFormatInput` structure when creating an open format table.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter