published on Thursday, Apr 23, 2026 by Pulumi
published on Thursday, Apr 23, 2026 by Pulumi
Provides a Glue Catalog Table Resource. You can refer to the Glue Developer Guide for a full explanation of the Glue Data Catalog functionality.
Example Usage
Basic Table
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.CatalogTable("example", {
name: "MyCatalogTable",
databaseName: "MyCatalogDatabase",
});
import pulumi
import pulumi_aws as aws
example = aws.glue.CatalogTable("example",
name="MyCatalogTable",
database_name="MyCatalogDatabase")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewCatalogTable(ctx, "example", &glue.CatalogTableArgs{
Name: pulumi.String("MyCatalogTable"),
DatabaseName: pulumi.String("MyCatalogDatabase"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Glue.CatalogTable("example", new()
{
Name = "MyCatalogTable",
DatabaseName = "MyCatalogDatabase",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.CatalogTable;
import com.pulumi.aws.glue.CatalogTableArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new CatalogTable("example", CatalogTableArgs.builder()
.name("MyCatalogTable")
.databaseName("MyCatalogDatabase")
.build());
}
}
resources:
example:
type: aws:glue:CatalogTable
properties:
name: MyCatalogTable
databaseName: MyCatalogDatabase
Parquet Table for Athena
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.CatalogTable("example", {
name: "MyCatalogTable",
databaseName: "MyCatalogDatabase",
tableType: "EXTERNAL_TABLE",
parameters: {
EXTERNAL: "TRUE",
"parquet.compression": "SNAPPY",
},
storageDescriptor: {
location: "s3://my-bucket/event-streams/my-stream",
inputFormat: "org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
outputFormat: "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
serDeInfo: {
name: "my-stream",
serializationLibrary: "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe",
parameters: {
"serialization.format": "1",
},
},
columns: [
{
name: "my_string",
type: "string",
},
{
name: "my_double",
type: "double",
},
{
name: "my_date",
type: "date",
comment: "",
},
{
name: "my_bigint",
type: "bigint",
comment: "",
},
{
name: "my_struct",
type: "struct<my_nested_string:string>",
comment: "",
},
],
},
});
import pulumi
import pulumi_aws as aws
example = aws.glue.CatalogTable("example",
name="MyCatalogTable",
database_name="MyCatalogDatabase",
table_type="EXTERNAL_TABLE",
parameters={
"EXTERNAL": "TRUE",
"parquet.compression": "SNAPPY",
},
storage_descriptor={
"location": "s3://my-bucket/event-streams/my-stream",
"input_format": "org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
"output_format": "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
"ser_de_info": {
"name": "my-stream",
"serialization_library": "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe",
"parameters": {
"serialization.format": "1",
},
},
"columns": [
{
"name": "my_string",
"type": "string",
},
{
"name": "my_double",
"type": "double",
},
{
"name": "my_date",
"type": "date",
"comment": "",
},
{
"name": "my_bigint",
"type": "bigint",
"comment": "",
},
{
"name": "my_struct",
"type": "struct<my_nested_string:string>",
"comment": "",
},
],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewCatalogTable(ctx, "example", &glue.CatalogTableArgs{
Name: pulumi.String("MyCatalogTable"),
DatabaseName: pulumi.String("MyCatalogDatabase"),
TableType: pulumi.String("EXTERNAL_TABLE"),
Parameters: pulumi.StringMap{
"EXTERNAL": pulumi.String("TRUE"),
"parquet.compression": pulumi.String("SNAPPY"),
},
StorageDescriptor: &glue.CatalogTableStorageDescriptorArgs{
Location: pulumi.String("s3://my-bucket/event-streams/my-stream"),
InputFormat: pulumi.String("org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat"),
OutputFormat: pulumi.String("org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat"),
SerDeInfo: &glue.CatalogTableStorageDescriptorSerDeInfoArgs{
Name: pulumi.String("my-stream"),
SerializationLibrary: pulumi.String("org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe"),
Parameters: pulumi.StringMap{
"serialization.format": pulumi.String("1"),
},
},
Columns: glue.CatalogTableStorageDescriptorColumnArray{
&glue.CatalogTableStorageDescriptorColumnArgs{
Name: pulumi.String("my_string"),
Type: pulumi.String("string"),
},
&glue.CatalogTableStorageDescriptorColumnArgs{
Name: pulumi.String("my_double"),
Type: pulumi.String("double"),
},
&glue.CatalogTableStorageDescriptorColumnArgs{
Name: pulumi.String("my_date"),
Type: pulumi.String("date"),
Comment: pulumi.String(""),
},
&glue.CatalogTableStorageDescriptorColumnArgs{
Name: pulumi.String("my_bigint"),
Type: pulumi.String("bigint"),
Comment: pulumi.String(""),
},
&glue.CatalogTableStorageDescriptorColumnArgs{
Name: pulumi.String("my_struct"),
Type: pulumi.String("struct<my_nested_string:string>"),
Comment: pulumi.String(""),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Glue.CatalogTable("example", new()
{
Name = "MyCatalogTable",
DatabaseName = "MyCatalogDatabase",
TableType = "EXTERNAL_TABLE",
Parameters =
{
{ "EXTERNAL", "TRUE" },
{ "parquet.compression", "SNAPPY" },
},
StorageDescriptor = new Aws.Glue.Inputs.CatalogTableStorageDescriptorArgs
{
Location = "s3://my-bucket/event-streams/my-stream",
InputFormat = "org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
OutputFormat = "org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
SerDeInfo = new Aws.Glue.Inputs.CatalogTableStorageDescriptorSerDeInfoArgs
{
Name = "my-stream",
SerializationLibrary = "org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe",
Parameters =
{
{ "serialization.format", "1" },
},
},
Columns = new[]
{
new Aws.Glue.Inputs.CatalogTableStorageDescriptorColumnArgs
{
Name = "my_string",
Type = "string",
},
new Aws.Glue.Inputs.CatalogTableStorageDescriptorColumnArgs
{
Name = "my_double",
Type = "double",
},
new Aws.Glue.Inputs.CatalogTableStorageDescriptorColumnArgs
{
Name = "my_date",
Type = "date",
Comment = "",
},
new Aws.Glue.Inputs.CatalogTableStorageDescriptorColumnArgs
{
Name = "my_bigint",
Type = "bigint",
Comment = "",
},
new Aws.Glue.Inputs.CatalogTableStorageDescriptorColumnArgs
{
Name = "my_struct",
Type = "struct<my_nested_string:string>",
Comment = "",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.CatalogTable;
import com.pulumi.aws.glue.CatalogTableArgs;
import com.pulumi.aws.glue.inputs.CatalogTableStorageDescriptorArgs;
import com.pulumi.aws.glue.inputs.CatalogTableStorageDescriptorSerDeInfoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new CatalogTable("example", CatalogTableArgs.builder()
.name("MyCatalogTable")
.databaseName("MyCatalogDatabase")
.tableType("EXTERNAL_TABLE")
.parameters(Map.ofEntries(
Map.entry("EXTERNAL", "TRUE"),
Map.entry("parquet.compression", "SNAPPY")
))
.storageDescriptor(CatalogTableStorageDescriptorArgs.builder()
.location("s3://my-bucket/event-streams/my-stream")
.inputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat")
.outputFormat("org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat")
.serDeInfo(CatalogTableStorageDescriptorSerDeInfoArgs.builder()
.name("my-stream")
.serializationLibrary("org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe")
.parameters(Map.of("serialization.format", "1"))
.build())
.columns(
CatalogTableStorageDescriptorColumnArgs.builder()
.name("my_string")
.type("string")
.build(),
CatalogTableStorageDescriptorColumnArgs.builder()
.name("my_double")
.type("double")
.build(),
CatalogTableStorageDescriptorColumnArgs.builder()
.name("my_date")
.type("date")
.comment("")
.build(),
CatalogTableStorageDescriptorColumnArgs.builder()
.name("my_bigint")
.type("bigint")
.comment("")
.build(),
CatalogTableStorageDescriptorColumnArgs.builder()
.name("my_struct")
.type("struct<my_nested_string:string>")
.comment("")
.build())
.build())
.build());
}
}
resources:
example:
type: aws:glue:CatalogTable
properties:
name: MyCatalogTable
databaseName: MyCatalogDatabase
tableType: EXTERNAL_TABLE
parameters:
EXTERNAL: TRUE
parquet.compression: SNAPPY
storageDescriptor:
location: s3://my-bucket/event-streams/my-stream
inputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat
outputFormat: org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat
serDeInfo:
name: my-stream
serializationLibrary: org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe
parameters:
serialization.format: 1
columns:
- name: my_string
type: string
- name: my_double
type: double
- name: my_date
type: date
comment: ""
- name: my_bigint
type: bigint
comment: ""
- name: my_struct
type: struct<my_nested_string:string>
comment: ""
Iceberg Table
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.CatalogTable("example", {
name: "transactiontable1",
databaseName: "bankdata_icebergdb",
openTableFormatInput: {
icebergInput: {
metadataOperation: "CREATE",
version: "2",
icebergTableInput: {
location: "s3://sampledatabucket/bankdataiceberg/transactiontable1/",
schema: {
schemaId: 0,
type: "struct",
fields: [
{
id: 1,
name: "transaction_id",
required: true,
type: " \\\"string\\\"\n",
},
{
id: 2,
name: "transaction_date",
required: true,
type: " \\\"date\\\"\n",
},
{
id: 3,
name: "monthly_balance",
required: true,
type: " \\\"float\\\"\n",
},
],
},
partitionSpec: {
fields: [{
name: "by_year",
sourceId: 2,
transform: "year",
}],
specId: 0,
},
sortOrder: {
fields: [{
direction: "asc",
nullOrder: "nulls-last",
sourceId: 1,
transform: "none",
}],
orderId: 1,
},
},
},
},
});
import pulumi
import pulumi_aws as aws
example = aws.glue.CatalogTable("example",
name="transactiontable1",
database_name="bankdata_icebergdb",
open_table_format_input={
"iceberg_input": {
"metadata_operation": "CREATE",
"version": "2",
"iceberg_table_input": {
"location": "s3://sampledatabucket/bankdataiceberg/transactiontable1/",
"schema": {
"schema_id": 0,
"type": "struct",
"fields": [
{
"id": 1,
"name": "transaction_id",
"required": True,
"type": " \\\"string\\\"\n",
},
{
"id": 2,
"name": "transaction_date",
"required": True,
"type": " \\\"date\\\"\n",
},
{
"id": 3,
"name": "monthly_balance",
"required": True,
"type": " \\\"float\\\"\n",
},
],
},
"partition_spec": {
"fields": [{
"name": "by_year",
"source_id": 2,
"transform": "year",
}],
"spec_id": 0,
},
"sort_order": {
"fields": [{
"direction": "asc",
"null_order": "nulls-last",
"source_id": 1,
"transform": "none",
}],
"order_id": 1,
},
},
},
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewCatalogTable(ctx, "example", &glue.CatalogTableArgs{
Name: pulumi.String("transactiontable1"),
DatabaseName: pulumi.String("bankdata_icebergdb"),
OpenTableFormatInput: &glue.CatalogTableOpenTableFormatInputArgs{
IcebergInput: &glue.CatalogTableOpenTableFormatInputIcebergInputArgs{
MetadataOperation: pulumi.String("CREATE"),
Version: pulumi.String("2"),
IcebergTableInput: &glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputArgs{
Location: pulumi.String("s3://sampledatabucket/bankdataiceberg/transactiontable1/"),
Schema: &glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaArgs{
SchemaId: pulumi.Int(0),
Type: pulumi.String("struct"),
Fields: glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArray{
&glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs{
Id: pulumi.Int(1),
Name: pulumi.String("transaction_id"),
Required: pulumi.Bool(true),
Type: pulumi.String(" \\\"string\\\"\n"),
},
&glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs{
Id: pulumi.Int(2),
Name: pulumi.String("transaction_date"),
Required: pulumi.Bool(true),
Type: pulumi.String(" \\\"date\\\"\n"),
},
&glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs{
Id: pulumi.Int(3),
Name: pulumi.String("monthly_balance"),
Required: pulumi.Bool(true),
Type: pulumi.String(" \\\"float\\\"\n"),
},
},
},
PartitionSpec: &glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecArgs{
Fields: glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecFieldArray{
&glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecFieldArgs{
Name: pulumi.String("by_year"),
SourceId: pulumi.Int(2),
Transform: pulumi.String("year"),
},
},
SpecId: pulumi.Int(0),
},
SortOrder: &glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderArgs{
Fields: glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderFieldArray{
&glue.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderFieldArgs{
Direction: pulumi.String("asc"),
NullOrder: pulumi.String("nulls-last"),
SourceId: pulumi.Int(1),
Transform: pulumi.String("none"),
},
},
OrderId: pulumi.Int(1),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Glue.CatalogTable("example", new()
{
Name = "transactiontable1",
DatabaseName = "bankdata_icebergdb",
OpenTableFormatInput = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputArgs
{
IcebergInput = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputArgs
{
MetadataOperation = "CREATE",
Version = "2",
IcebergTableInput = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputArgs
{
Location = "s3://sampledatabucket/bankdataiceberg/transactiontable1/",
Schema = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaArgs
{
SchemaId = 0,
Type = "struct",
Fields = new[]
{
new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs
{
Id = 1,
Name = "transaction_id",
Required = true,
Type = @" \""string\""
",
},
new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs
{
Id = 2,
Name = "transaction_date",
Required = true,
Type = @" \""date\""
",
},
new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs
{
Id = 3,
Name = "monthly_balance",
Required = true,
Type = @" \""float\""
",
},
},
},
PartitionSpec = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecArgs
{
Fields = new[]
{
new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecFieldArgs
{
Name = "by_year",
SourceId = 2,
Transform = "year",
},
},
SpecId = 0,
},
SortOrder = new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderArgs
{
Fields = new[]
{
new Aws.Glue.Inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderFieldArgs
{
Direction = "asc",
NullOrder = "nulls-last",
SourceId = 1,
Transform = "none",
},
},
OrderId = 1,
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.CatalogTable;
import com.pulumi.aws.glue.CatalogTableArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputIcebergInputArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecArgs;
import com.pulumi.aws.glue.inputs.CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new CatalogTable("example", CatalogTableArgs.builder()
.name("transactiontable1")
.databaseName("bankdata_icebergdb")
.openTableFormatInput(CatalogTableOpenTableFormatInputArgs.builder()
.icebergInput(CatalogTableOpenTableFormatInputIcebergInputArgs.builder()
.metadataOperation("CREATE")
.version("2")
.icebergTableInput(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputArgs.builder()
.location("s3://sampledatabucket/bankdataiceberg/transactiontable1/")
.schema(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaArgs.builder()
.schemaId(0)
.type("struct")
.fields(
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs.builder()
.id(1)
.name("transaction_id")
.required(true)
.type("""
\"string\"
""")
.build(),
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs.builder()
.id(2)
.name("transaction_date")
.required(true)
.type("""
\"date\"
""")
.build(),
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs.builder()
.id(3)
.name("monthly_balance")
.required(true)
.type("""
\"float\"
""")
.build())
.build())
.partitionSpec(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecArgs.builder()
.fields(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecFieldArgs.builder()
.name("by_year")
.sourceId(2)
.transform("year")
.build())
.specId(0)
.build())
.sortOrder(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderArgs.builder()
.fields(CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderFieldArgs.builder()
.direction("asc")
.nullOrder("nulls-last")
.sourceId(1)
.transform("none")
.build())
.orderId(1)
.build())
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:glue:CatalogTable
properties:
name: transactiontable1
databaseName: bankdata_icebergdb
openTableFormatInput:
icebergInput:
metadataOperation: CREATE
version: 2
icebergTableInput:
location: s3://sampledatabucket/bankdataiceberg/transactiontable1/
schema:
schemaId: 0
type: struct
fields:
- id: 1
name: transaction_id
required: true
type: |2
\"string\"
- id: 2
name: transaction_date
required: true
type: |2
\"date\"
- id: 3
name: monthly_balance
required: true
type: |2
\"float\"
partitionSpec:
fields:
- name: by_year
sourceId: 2
transform: year
specId: 0
sortOrder:
fields:
- direction: asc
nullOrder: nulls-last
sourceId: 1
transform: none
orderId: 1
Protected View
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.glue.CatalogTable("example", {
name: "multidialect_view",
databaseName: "catalog_database",
tableType: "VIRTUAL_VIEW",
viewDefinition: {
isProtected: true,
representations: [{
dialect: "ATHENA",
dialectVersion: "3",
viewOriginalText: "SELECT * FROM catalog_database.base_table",
validationConnection: exampleAwsGlueConnection.name,
}],
},
});
import pulumi
import pulumi_aws as aws
example = aws.glue.CatalogTable("example",
name="multidialect_view",
database_name="catalog_database",
table_type="VIRTUAL_VIEW",
view_definition={
"is_protected": True,
"representations": [{
"dialect": "ATHENA",
"dialect_version": "3",
"view_original_text": "SELECT * FROM catalog_database.base_table",
"validation_connection": example_aws_glue_connection["name"],
}],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.NewCatalogTable(ctx, "example", &glue.CatalogTableArgs{
Name: pulumi.String("multidialect_view"),
DatabaseName: pulumi.String("catalog_database"),
TableType: pulumi.String("VIRTUAL_VIEW"),
ViewDefinition: &glue.CatalogTableViewDefinitionArgs{
IsProtected: pulumi.Bool(true),
Representations: glue.CatalogTableViewDefinitionRepresentationArray{
&glue.CatalogTableViewDefinitionRepresentationArgs{
Dialect: pulumi.String("ATHENA"),
DialectVersion: pulumi.String("3"),
ViewOriginalText: pulumi.String("SELECT * FROM catalog_database.base_table"),
ValidationConnection: pulumi.Any(exampleAwsGlueConnection.Name),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Glue.CatalogTable("example", new()
{
Name = "multidialect_view",
DatabaseName = "catalog_database",
TableType = "VIRTUAL_VIEW",
ViewDefinition = new Aws.Glue.Inputs.CatalogTableViewDefinitionArgs
{
IsProtected = true,
Representations = new[]
{
new Aws.Glue.Inputs.CatalogTableViewDefinitionRepresentationArgs
{
Dialect = "ATHENA",
DialectVersion = "3",
ViewOriginalText = "SELECT * FROM catalog_database.base_table",
ValidationConnection = exampleAwsGlueConnection.Name,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.CatalogTable;
import com.pulumi.aws.glue.CatalogTableArgs;
import com.pulumi.aws.glue.inputs.CatalogTableViewDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new CatalogTable("example", CatalogTableArgs.builder()
.name("multidialect_view")
.databaseName("catalog_database")
.tableType("VIRTUAL_VIEW")
.viewDefinition(CatalogTableViewDefinitionArgs.builder()
.isProtected(true)
.representations(CatalogTableViewDefinitionRepresentationArgs.builder()
.dialect("ATHENA")
.dialectVersion("3")
.viewOriginalText("SELECT * FROM catalog_database.base_table")
.validationConnection(exampleAwsGlueConnection.name())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:glue:CatalogTable
properties:
name: multidialect_view
databaseName: catalog_database
tableType: VIRTUAL_VIEW
viewDefinition:
isProtected: true
representations:
- dialect: ATHENA
dialectVersion: '3'
viewOriginalText: SELECT * FROM catalog_database.base_table
validationConnection: ${exampleAwsGlueConnection.name}
Create CatalogTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CatalogTable(name: string, args: CatalogTableArgs, opts?: CustomResourceOptions);@overload
def CatalogTable(resource_name: str,
args: CatalogTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CatalogTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_name: Optional[str] = None,
partition_keys: Optional[Sequence[CatalogTablePartitionKeyArgs]] = None,
retention: Optional[int] = None,
name: Optional[str] = None,
open_table_format_input: Optional[CatalogTableOpenTableFormatInputArgs] = None,
owner: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
partition_indices: Optional[Sequence[CatalogTablePartitionIndexArgs]] = None,
region: Optional[str] = None,
catalog_id: Optional[str] = None,
storage_descriptor: Optional[CatalogTableStorageDescriptorArgs] = None,
table_type: Optional[str] = None,
target_table: Optional[CatalogTableTargetTableArgs] = None,
view_definition: Optional[CatalogTableViewDefinitionArgs] = None,
view_expanded_text: Optional[str] = None,
view_original_text: Optional[str] = None)func NewCatalogTable(ctx *Context, name string, args CatalogTableArgs, opts ...ResourceOption) (*CatalogTable, error)public CatalogTable(string name, CatalogTableArgs args, CustomResourceOptions? opts = null)
public CatalogTable(String name, CatalogTableArgs args)
public CatalogTable(String name, CatalogTableArgs args, CustomResourceOptions options)
type: aws:glue:CatalogTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CatalogTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CatalogTableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CatalogTableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogTableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CatalogTable Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CatalogTable resource accepts the following input properties:
- Database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- Catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- Description string
- Description of the table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - Owner string
- Owner of the table.
- Parameters Dictionary<string, string>
- Properties associated with this table, as a list of key-value pairs.
- Partition
Indices List<CatalogTable Partition Index> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - Partition
Keys List<CatalogTable Partition Key> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Retention int
- Retention time for this table.
- Storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - Table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - Target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - View
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - View
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- View
Original stringText - If the table is a view, the original text of the view; otherwise null.
- Database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- Catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- Description string
- Description of the table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Open
Table CatalogFormat Input Table Open Table Format Input Args - Configuration block for open table formats. See
openTableFormatInputbelow. - Owner string
- Owner of the table.
- Parameters map[string]string
- Properties associated with this table, as a list of key-value pairs.
- Partition
Indices []CatalogTable Partition Index Args - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - Partition
Keys []CatalogTable Partition Key Args - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Retention int
- Retention time for this table.
- Storage
Descriptor CatalogTable Storage Descriptor Args - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - Table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - Target
Table CatalogTable Target Table Args - Configuration block of a target table for resource linking. See
targetTablebelow. - View
Definition CatalogTable View Definition Args - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - View
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- View
Original stringText - If the table is a view, the original text of the view; otherwise null.
- database
Name String Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- catalog
Id String - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- description String
- Description of the table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner String
- Owner of the table.
- parameters Map<String,String>
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices List<CatalogTable Partition Index> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys List<CatalogTable Partition Key> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention Integer
- Retention time for this table.
- storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type String - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded StringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original StringText - If the table is a view, the original text of the view; otherwise null.
- database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- description string
- Description of the table.
- name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner string
- Owner of the table.
- parameters {[key: string]: string}
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices CatalogTable Partition Index[] - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys CatalogTable Partition Key[] - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention number
- Retention time for this table.
- storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original stringText - If the table is a view, the original text of the view; otherwise null.
- database_
name str Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- catalog_
id str - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- description str
- Description of the table.
- name str
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open_
table_ Catalogformat_ input Table Open Table Format Input Args - Configuration block for open table formats. See
openTableFormatInputbelow. - owner str
- Owner of the table.
- parameters Mapping[str, str]
- Properties associated with this table, as a list of key-value pairs.
- partition_
indices Sequence[CatalogTable Partition Index Args] - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition_
keys Sequence[CatalogTable Partition Key Args] - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention int
- Retention time for this table.
- storage_
descriptor CatalogTable Storage Descriptor Args - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table_
type str - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target_
table CatalogTable Target Table Args - Configuration block of a target table for resource linking. See
targetTablebelow. - view_
definition CatalogTable View Definition Args - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view_
expanded_ strtext - If the table is a view, the expanded text of the view; otherwise null.
- view_
original_ strtext - If the table is a view, the original text of the view; otherwise null.
- database
Name String Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- catalog
Id String - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- description String
- Description of the table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table Property MapFormat Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner String
- Owner of the table.
- parameters Map<String>
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices List<Property Map> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys List<Property Map> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention Number
- Retention time for this table.
- storage
Descriptor Property Map - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type String - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table Property Map - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition Property Map - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded StringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original StringText - If the table is a view, the original text of the view; otherwise null.
Outputs
All input properties are implicitly available as output properties. Additionally, the CatalogTable resource produces the following output properties:
Look up Existing CatalogTable Resource
Get an existing CatalogTable resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CatalogTableState, opts?: CustomResourceOptions): CatalogTable@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
catalog_id: Optional[str] = None,
database_name: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
open_table_format_input: Optional[CatalogTableOpenTableFormatInputArgs] = None,
owner: Optional[str] = None,
parameters: Optional[Mapping[str, str]] = None,
partition_indices: Optional[Sequence[CatalogTablePartitionIndexArgs]] = None,
partition_keys: Optional[Sequence[CatalogTablePartitionKeyArgs]] = None,
region: Optional[str] = None,
retention: Optional[int] = None,
storage_descriptor: Optional[CatalogTableStorageDescriptorArgs] = None,
table_type: Optional[str] = None,
target_table: Optional[CatalogTableTargetTableArgs] = None,
view_definition: Optional[CatalogTableViewDefinitionArgs] = None,
view_expanded_text: Optional[str] = None,
view_original_text: Optional[str] = None) -> CatalogTablefunc GetCatalogTable(ctx *Context, name string, id IDInput, state *CatalogTableState, opts ...ResourceOption) (*CatalogTable, error)public static CatalogTable Get(string name, Input<string> id, CatalogTableState? state, CustomResourceOptions? opts = null)public static CatalogTable get(String name, Output<String> id, CatalogTableState state, CustomResourceOptions options)resources: _: type: aws:glue:CatalogTable get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The ARN of the Glue Table.
- Catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- Database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- Description string
- Description of the table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - Owner string
- Owner of the table.
- Parameters Dictionary<string, string>
- Properties associated with this table, as a list of key-value pairs.
- Partition
Indices List<CatalogTable Partition Index> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - Partition
Keys List<CatalogTable Partition Key> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Retention int
- Retention time for this table.
- Storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - Table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - Target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - View
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - View
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- View
Original stringText - If the table is a view, the original text of the view; otherwise null.
- Arn string
- The ARN of the Glue Table.
- Catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- Database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- Description string
- Description of the table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Open
Table CatalogFormat Input Table Open Table Format Input Args - Configuration block for open table formats. See
openTableFormatInputbelow. - Owner string
- Owner of the table.
- Parameters map[string]string
- Properties associated with this table, as a list of key-value pairs.
- Partition
Indices []CatalogTable Partition Index Args - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - Partition
Keys []CatalogTable Partition Key Args - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Retention int
- Retention time for this table.
- Storage
Descriptor CatalogTable Storage Descriptor Args - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - Table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - Target
Table CatalogTable Target Table Args - Configuration block of a target table for resource linking. See
targetTablebelow. - View
Definition CatalogTable View Definition Args - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - View
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- View
Original stringText - If the table is a view, the original text of the view; otherwise null.
- arn String
- The ARN of the Glue Table.
- catalog
Id String - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- database
Name String Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- description String
- Description of the table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner String
- Owner of the table.
- parameters Map<String,String>
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices List<CatalogTable Partition Index> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys List<CatalogTable Partition Key> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention Integer
- Retention time for this table.
- storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type String - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded StringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original StringText - If the table is a view, the original text of the view; otherwise null.
- arn string
- The ARN of the Glue Table.
- catalog
Id string - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- database
Name string Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- description string
- Description of the table.
- name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table CatalogFormat Input Table Open Table Format Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner string
- Owner of the table.
- parameters {[key: string]: string}
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices CatalogTable Partition Index[] - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys CatalogTable Partition Key[] - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention number
- Retention time for this table.
- storage
Descriptor CatalogTable Storage Descriptor - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type string - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table CatalogTable Target Table - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition CatalogTable View Definition - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded stringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original stringText - If the table is a view, the original text of the view; otherwise null.
- arn str
- The ARN of the Glue Table.
- catalog_
id str - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- database_
name str Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- description str
- Description of the table.
- name str
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open_
table_ Catalogformat_ input Table Open Table Format Input Args - Configuration block for open table formats. See
openTableFormatInputbelow. - owner str
- Owner of the table.
- parameters Mapping[str, str]
- Properties associated with this table, as a list of key-value pairs.
- partition_
indices Sequence[CatalogTable Partition Index Args] - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition_
keys Sequence[CatalogTable Partition Key Args] - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention int
- Retention time for this table.
- storage_
descriptor CatalogTable Storage Descriptor Args - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table_
type str - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target_
table CatalogTable Target Table Args - Configuration block of a target table for resource linking. See
targetTablebelow. - view_
definition CatalogTable View Definition Args - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view_
expanded_ strtext - If the table is a view, the expanded text of the view; otherwise null.
- view_
original_ strtext - If the table is a view, the original text of the view; otherwise null.
- arn String
- The ARN of the Glue Table.
- catalog
Id String - ID of the Glue Catalog and database to create the table in. If omitted, this defaults to the AWS Account ID plus the database name.
- database
Name String Name of the metadata database where the table metadata resides. For Hive compatibility, this must be all lowercase.
The following arguments are optional:
- description String
- Description of the table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- open
Table Property MapFormat Input - Configuration block for open table formats. See
openTableFormatInputbelow. - owner String
- Owner of the table.
- parameters Map<String>
- Properties associated with this table, as a list of key-value pairs.
- partition
Indices List<Property Map> - Configuration block for a maximum of 3 partition indexes. See
partitionIndexbelow. - partition
Keys List<Property Map> - Configuration block of columns by which the table is partitioned. Only primitive types are supported as partition keys. See
partitionKeysbelow. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- retention Number
- Retention time for this table.
- storage
Descriptor Property Map - Configuration block for information about the physical storage of this table. For more information, refer to the Glue Developer Guide. See
storageDescriptorbelow. - table
Type String - Type of this table (EXTERNAL_TABLE, VIRTUAL_VIEW, etc.). While optional, some Athena DDL queries such as
ALTER TABLEandSHOW CREATE TABLEwill fail if this argument is empty. - target
Table Property Map - Configuration block of a target table for resource linking. See
targetTablebelow. - view
Definition Property Map - A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query. See
viewDefinitionbelow. - view
Expanded StringText - If the table is a view, the expanded text of the view; otherwise null.
- view
Original StringText - If the table is a view, the original text of the view; otherwise null.
Supporting Types
CatalogTableOpenTableFormatInput, CatalogTableOpenTableFormatInputArgs
- Iceberg
Input CatalogTable Open Table Format Input Iceberg Input - Configuration block for iceberg table config. See
icebergInputbelow.
- Iceberg
Input CatalogTable Open Table Format Input Iceberg Input - Configuration block for iceberg table config. See
icebergInputbelow.
- iceberg
Input CatalogTable Open Table Format Input Iceberg Input - Configuration block for iceberg table config. See
icebergInputbelow.
- iceberg
Input CatalogTable Open Table Format Input Iceberg Input - Configuration block for iceberg table config. See
icebergInputbelow.
- iceberg_
input CatalogTable Open Table Format Input Iceberg Input - Configuration block for iceberg table config. See
icebergInputbelow.
- iceberg
Input Property Map - Configuration block for iceberg table config. See
icebergInputbelow.
CatalogTableOpenTableFormatInputIcebergInput, CatalogTableOpenTableFormatInputIcebergInputArgs
- Metadata
Operation string - A required metadata operation. Can only be set to CREATE.
- Iceberg
Table CatalogInput Table Open Table Format Input Iceberg Input Iceberg Table Input - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - Version string
- The table version for the Iceberg table. Defaults to 2.
- Metadata
Operation string - A required metadata operation. Can only be set to CREATE.
- Iceberg
Table CatalogInput Table Open Table Format Input Iceberg Input Iceberg Table Input - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - Version string
- The table version for the Iceberg table. Defaults to 2.
- metadata
Operation String - A required metadata operation. Can only be set to CREATE.
- iceberg
Table CatalogInput Table Open Table Format Input Iceberg Input Iceberg Table Input - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - version String
- The table version for the Iceberg table. Defaults to 2.
- metadata
Operation string - A required metadata operation. Can only be set to CREATE.
- iceberg
Table CatalogInput Table Open Table Format Input Iceberg Input Iceberg Table Input - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - version string
- The table version for the Iceberg table. Defaults to 2.
- metadata_
operation str - A required metadata operation. Can only be set to CREATE.
- iceberg_
table_ Cataloginput Table Open Table Format Input Iceberg Input Iceberg Table Input - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - version str
- The table version for the Iceberg table. Defaults to 2.
- metadata
Operation String - A required metadata operation. Can only be set to CREATE.
- iceberg
Table Property MapInput - Configuration parameters, including table properties and metadata specifications. See
icebergTableInputbelow. - version String
- The table version for the Iceberg table. Defaults to 2.
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInput, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputArgs
- Location string
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- Schema
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema - The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - Partition
Spec CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - Properties Dictionary<string, string>
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- Sort
Order CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Sort Order - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
- Location string
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- Schema
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema - The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - Partition
Spec CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - Properties map[string]string
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- Sort
Order CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Sort Order - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
- location String
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- schema
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema - The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - partition
Spec CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - properties Map<String,String>
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- sort
Order CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Sort Order - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
- location string
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- schema
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema - The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - partition
Spec CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - properties {[key: string]: string}
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- sort
Order CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Sort Order - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
- location str
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- schema
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema - The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - partition_
spec CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - properties Mapping[str, str]
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- sort_
order CatalogTable Open Table Format Input Iceberg Input Iceberg Table Input Sort Order - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
- location String
- The S3 location where the Iceberg table data will be stored. Maximum length of 2056 characters.
- schema Property Map
- The schema definition that specifies the structure, field types, and metadata for the Iceberg table. See
schemabelow. - partition
Spec Property Map - The partitioning specification that defines how the Iceberg table data will be organized and partitioned for optimal query performance. See
partitionSpecbelow. - properties Map<String>
- Key-value pairs of additional table properties and configuration settings for the Iceberg table.
- sort
Order Property Map - The sort order specification that defines how data should be ordered within each partition to optimize query performance. See
sortOrderbelow.
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpec, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecArgs
- Fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec Field> - The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - Spec
Id int - The unique identifier for this partition specification within the Iceberg table's metadata history.
- Fields
[]Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec Field - The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - Spec
Id int - The unique identifier for this partition specification within the Iceberg table's metadata history.
- fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec Field> - The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - spec
Id Integer - The unique identifier for this partition specification within the Iceberg table's metadata history.
- fields
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec Field[] - The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - spec
Id number - The unique identifier for this partition specification within the Iceberg table's metadata history.
- fields
Sequence[Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Partition Spec Field] - The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - spec_
id int - The unique identifier for this partition specification within the Iceberg table's metadata history.
- fields List<Property Map>
- The list of partition fields that define how the table data should be partitioned. See
fieldsbelow. - spec
Id Number - The unique identifier for this partition specification within the Iceberg table's metadata history.
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecField, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputPartitionSpecFieldArgs
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchema, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaArgs
- Fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema Field> - The list of field definitions that make up the table schema. See
fieldsbelow. - Identifier
Field List<int>Ids - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- Schema
Id int - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- Type string
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
- Fields
[]Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema Field - The list of field definitions that make up the table schema. See
fieldsbelow. - Identifier
Field []intIds - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- Schema
Id int - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- Type string
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
- fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema Field> - The list of field definitions that make up the table schema. See
fieldsbelow. - identifier
Field List<Integer>Ids - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- schema
Id Integer - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- type String
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
- fields
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema Field[] - The list of field definitions that make up the table schema. See
fieldsbelow. - identifier
Field number[]Ids - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- schema
Id number - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- type string
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
- fields
Sequence[Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Schema Field] - The list of field definitions that make up the table schema. See
fieldsbelow. - identifier_
field_ Sequence[int]ids - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- schema_
id int - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- type str
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
- fields List<Property Map>
- The list of field definitions that make up the table schema. See
fieldsbelow. - identifier
Field List<Number>Ids - The list of field identifiers that uniquely identify records in the table, used for row-level operations and deduplication.
- schema
Id Number - The unique identifier for this schema version within the Iceberg table's schema evolution history.
- type String
- The data type definition for this field as a JSON string, specifying the structure and format of the data it contains. Examples:
"long","string","timestamp","decimal(10,2)".
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaField, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSchemaFieldArgs
- Id int
- Catalog ID, Database name and of the name table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Required bool
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- Type string
- Doc string
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- Initial
Default string - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- Write
Default string - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
- Id int
- Catalog ID, Database name and of the name table.
- Name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- Required bool
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- Type string
- Doc string
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- Initial
Default string - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- Write
Default string - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
- id Integer
- Catalog ID, Database name and of the name table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- required Boolean
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- type String
- doc String
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- initial
Default String - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- write
Default String - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
- id number
- Catalog ID, Database name and of the name table.
- name string
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- required boolean
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- type string
- doc string
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- initial
Default string - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- write
Default string - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
- id int
- Catalog ID, Database name and of the name table.
- name str
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- required bool
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- type str
- doc str
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- initial_
default str - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- write_
default str - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
- id Number
- Catalog ID, Database name and of the name table.
- name String
- Name of the table. For Hive compatibility, this must be entirely lowercase.
- required Boolean
- Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.
- type String
- doc String
- Optional documentation or description text that provides additional context about the purpose and usage of this field. Length between 0 and 255 characters.
- initial
Default String - Default value as JSON used to populate the field's value for all records that were written before the field was added to the schema.
- write
Default String - Default value as JSON used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value.
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrder, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderArgs
- Fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Sort Order Field> - The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - Order
Id int - The unique identifier for this sort order specification within the Iceberg table's metadata.
- Fields
[]Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Sort Order Field - The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - Order
Id int - The unique identifier for this sort order specification within the Iceberg table's metadata.
- fields
List<Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Sort Order Field> - The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - order
Id Integer - The unique identifier for this sort order specification within the Iceberg table's metadata.
- fields
Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Sort Order Field[] - The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - order
Id number - The unique identifier for this sort order specification within the Iceberg table's metadata.
- fields
Sequence[Catalog
Table Open Table Format Input Iceberg Input Iceberg Table Input Sort Order Field] - The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - order_
id int - The unique identifier for this sort order specification within the Iceberg table's metadata.
- fields List<Property Map>
- The list of fields and their sort directions that define the ordering criteria for the Iceberg table data. See
fieldsbelow. - order
Id Number - The unique identifier for this sort order specification within the Iceberg table's metadata.
CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderField, CatalogTableOpenTableFormatInputIcebergInputIcebergTableInputSortOrderFieldArgs
- direction str
- The sort direction for this field. Valid values:
asc,desc. - null_
order str - The ordering behavior for null values in this field. Valid values:
nulls-first,nulls-last. - source_
id int - transform str
CatalogTablePartitionIndex, CatalogTablePartitionIndexArgs
- Index
Name string - Name of the partition index.
- Keys List<string>
- Keys for the partition index.
- Index
Status string
- Index
Name string - Name of the partition index.
- Keys []string
- Keys for the partition index.
- Index
Status string
- index
Name String - Name of the partition index.
- keys List<String>
- Keys for the partition index.
- index
Status String
- index
Name string - Name of the partition index.
- keys string[]
- Keys for the partition index.
- index
Status string
- index_
name str - Name of the partition index.
- keys Sequence[str]
- Keys for the partition index.
- index_
status str
- index
Name String - Name of the partition index.
- keys List<String>
- Keys for the partition index.
- index
Status String
CatalogTablePartitionKey, CatalogTablePartitionKeyArgs
- Name string
- Name of the Partition Key.
- Comment string
- Free-form text comment.
- Parameters Dictionary<string, string>
- Map of key-value pairs.
- Type string
- Datatype of data in the Partition Key.
- Name string
- Name of the Partition Key.
- Comment string
- Free-form text comment.
- Parameters map[string]string
- Map of key-value pairs.
- Type string
- Datatype of data in the Partition Key.
- name String
- Name of the Partition Key.
- comment String
- Free-form text comment.
- parameters Map<String,String>
- Map of key-value pairs.
- type String
- Datatype of data in the Partition Key.
- name string
- Name of the Partition Key.
- comment string
- Free-form text comment.
- parameters {[key: string]: string}
- Map of key-value pairs.
- type string
- Datatype of data in the Partition Key.
- name str
- Name of the Partition Key.
- comment str
- Free-form text comment.
- parameters Mapping[str, str]
- Map of key-value pairs.
- type str
- Datatype of data in the Partition Key.
- name String
- Name of the Partition Key.
- comment String
- Free-form text comment.
- parameters Map<String>
- Map of key-value pairs.
- type String
- Datatype of data in the Partition Key.
CatalogTableStorageDescriptor, CatalogTableStorageDescriptorArgs
- Additional
Locations List<string> - List of locations that point to the path where a Delta table is located.
- Bucket
Columns List<string> - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
List<Catalog
Table Storage Descriptor Column> - Configuration block for columns in the table. See
columnsbelow. - Compressed bool
- Whether the data in the table is compressed.
- Input
Format string - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- Location string
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- Number
Of intBuckets - Must be specified if the table contains any dimension columns.
- Output
Format string - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters Dictionary<string, string>
- User-supplied properties in key-value form.
- Schema
Reference CatalogTable Storage Descriptor Schema Reference - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- Ser
De CatalogInfo Table Storage Descriptor Ser De Info - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - Skewed
Info CatalogTable Storage Descriptor Skewed Info - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - Sort
Columns List<CatalogTable Storage Descriptor Sort Column> - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - Stored
As boolSub Directories - Whether the table data is stored in subdirectories.
- Additional
Locations []string - List of locations that point to the path where a Delta table is located.
- Bucket
Columns []string - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- Columns
[]Catalog
Table Storage Descriptor Column - Configuration block for columns in the table. See
columnsbelow. - Compressed bool
- Whether the data in the table is compressed.
- Input
Format string - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- Location string
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- Number
Of intBuckets - Must be specified if the table contains any dimension columns.
- Output
Format string - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- Parameters map[string]string
- User-supplied properties in key-value form.
- Schema
Reference CatalogTable Storage Descriptor Schema Reference - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- Ser
De CatalogInfo Table Storage Descriptor Ser De Info - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - Skewed
Info CatalogTable Storage Descriptor Skewed Info - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - Sort
Columns []CatalogTable Storage Descriptor Sort Column - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - Stored
As boolSub Directories - Whether the table data is stored in subdirectories.
- additional
Locations List<String> - List of locations that point to the path where a Delta table is located.
- bucket
Columns List<String> - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
List<Catalog
Table Storage Descriptor Column> - Configuration block for columns in the table. See
columnsbelow. - compressed Boolean
- Whether the data in the table is compressed.
- input
Format String - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location String
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- number
Of IntegerBuckets - Must be specified if the table contains any dimension columns.
- output
Format String - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String,String>
- User-supplied properties in key-value form.
- schema
Reference CatalogTable Storage Descriptor Schema Reference - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- ser
De CatalogInfo Table Storage Descriptor Ser De Info - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - skewed
Info CatalogTable Storage Descriptor Skewed Info - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - sort
Columns List<CatalogTable Storage Descriptor Sort Column> - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - stored
As BooleanSub Directories - Whether the table data is stored in subdirectories.
- additional
Locations string[] - List of locations that point to the path where a Delta table is located.
- bucket
Columns string[] - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
Catalog
Table Storage Descriptor Column[] - Configuration block for columns in the table. See
columnsbelow. - compressed boolean
- Whether the data in the table is compressed.
- input
Format string - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location string
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- number
Of numberBuckets - Must be specified if the table contains any dimension columns.
- output
Format string - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters {[key: string]: string}
- User-supplied properties in key-value form.
- schema
Reference CatalogTable Storage Descriptor Schema Reference - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- ser
De CatalogInfo Table Storage Descriptor Ser De Info - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - skewed
Info CatalogTable Storage Descriptor Skewed Info - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - sort
Columns CatalogTable Storage Descriptor Sort Column[] - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - stored
As booleanSub Directories - Whether the table data is stored in subdirectories.
- additional_
locations Sequence[str] - List of locations that point to the path where a Delta table is located.
- bucket_
columns Sequence[str] - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns
Sequence[Catalog
Table Storage Descriptor Column] - Configuration block for columns in the table. See
columnsbelow. - compressed bool
- Whether the data in the table is compressed.
- input_
format str - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location str
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- number_
of_ intbuckets - Must be specified if the table contains any dimension columns.
- output_
format str - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Mapping[str, str]
- User-supplied properties in key-value form.
- schema_
reference CatalogTable Storage Descriptor Schema Reference - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- ser_
de_ Cataloginfo Table Storage Descriptor Ser De Info - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - skewed_
info CatalogTable Storage Descriptor Skewed Info - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - sort_
columns Sequence[CatalogTable Storage Descriptor Sort Column] - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - stored_
as_ boolsub_ directories - Whether the table data is stored in subdirectories.
- additional
Locations List<String> - List of locations that point to the path where a Delta table is located.
- bucket
Columns List<String> - List of reducer grouping columns, clustering columns, and bucketing columns in the table.
- columns List<Property Map>
- Configuration block for columns in the table. See
columnsbelow. - compressed Boolean
- Whether the data in the table is compressed.
- input
Format String - Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
- location String
- Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
- number
Of NumberBuckets - Must be specified if the table contains any dimension columns.
- output
Format String - Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
- parameters Map<String>
- User-supplied properties in key-value form.
- schema
Reference Property Map - Object that references a schema stored in the AWS Glue Schema Registry. When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference. See Schema Reference below.
- ser
De Property MapInfo - Configuration block for serialization and deserialization ("SerDe") information. See
serDeInfobelow. - skewed
Info Property Map - Configuration block with information about values that appear very frequently in a column (skewed values). See
skewedInfobelow. - sort
Columns List<Property Map> - Configuration block for the sort order of each bucket in the table. See
sortColumnsbelow. - stored
As BooleanSub Directories - Whether the table data is stored in subdirectories.
CatalogTableStorageDescriptorColumn, CatalogTableStorageDescriptorColumnArgs
- Name string
- Name of the Column.
- Comment string
- Free-form text comment.
- Parameters Dictionary<string, string>
- Key-value pairs defining properties associated with the column.
- Type string
- Datatype of data in the Column.
- Name string
- Name of the Column.
- Comment string
- Free-form text comment.
- Parameters map[string]string
- Key-value pairs defining properties associated with the column.
- Type string
- Datatype of data in the Column.
- name String
- Name of the Column.
- comment String
- Free-form text comment.
- parameters Map<String,String>
- Key-value pairs defining properties associated with the column.
- type String
- Datatype of data in the Column.
- name string
- Name of the Column.
- comment string
- Free-form text comment.
- parameters {[key: string]: string}
- Key-value pairs defining properties associated with the column.
- type string
- Datatype of data in the Column.
- name str
- Name of the Column.
- comment str
- Free-form text comment.
- parameters Mapping[str, str]
- Key-value pairs defining properties associated with the column.
- type str
- Datatype of data in the Column.
- name String
- Name of the Column.
- comment String
- Free-form text comment.
- parameters Map<String>
- Key-value pairs defining properties associated with the column.
- type String
- Datatype of data in the Column.
CatalogTableStorageDescriptorSchemaReference, CatalogTableStorageDescriptorSchemaReferenceArgs
- Schema
Version intNumber - Version number of the schema.
- Schema
Id CatalogTable Storage Descriptor Schema Reference Schema Id - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - Schema
Version stringId - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
- Schema
Version intNumber - Version number of the schema.
- Schema
Id CatalogTable Storage Descriptor Schema Reference Schema Id - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - Schema
Version stringId - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
- schema
Version IntegerNumber - Version number of the schema.
- schema
Id CatalogTable Storage Descriptor Schema Reference Schema Id - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - schema
Version StringId - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
- schema
Version numberNumber - Version number of the schema.
- schema
Id CatalogTable Storage Descriptor Schema Reference Schema Id - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - schema
Version stringId - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
- schema_
version_ intnumber - Version number of the schema.
- schema_
id CatalogTable Storage Descriptor Schema Reference Schema Id - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - schema_
version_ strid - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
- schema
Version NumberNumber - Version number of the schema.
- schema
Id Property Map - Configuration block that contains schema identity fields. Either this or the
schemaVersionIdhas to be provided. SeeschemaIdbelow. - schema
Version StringId - Unique ID assigned to a version of the schema. Either this or the
schemaIdhas to be provided.
CatalogTableStorageDescriptorSchemaReferenceSchemaId, CatalogTableStorageDescriptorSchemaReferenceSchemaIdArgs
- Registry
Name string - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - Schema
Arn string - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - Schema
Name string - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
- Registry
Name string - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - Schema
Arn string - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - Schema
Name string - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
- registry
Name String - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - schema
Arn String - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - schema
Name String - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
- registry
Name string - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - schema
Arn string - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - schema
Name string - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
- registry_
name str - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - schema_
arn str - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - schema_
name str - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
- registry
Name String - Name of the schema registry that contains the schema. Must be provided when
schemaNameis specified and conflicts withschemaArn. - schema
Arn String - ARN of the schema. One of
schemaArnorschemaNamehas to be provided. - schema
Name String - Name of the schema. One of
schemaArnorschemaNamehas to be provided.
CatalogTableStorageDescriptorSerDeInfo, CatalogTableStorageDescriptorSerDeInfoArgs
- Name string
- Name of the SerDe.
- Parameters Dictionary<string, string>
- Map of initialization parameters for the SerDe, in key-value form.
- Serialization
Library string - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- Name string
- Name of the SerDe.
- Parameters map[string]string
- Map of initialization parameters for the SerDe, in key-value form.
- Serialization
Library string - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name String
- Name of the SerDe.
- parameters Map<String,String>
- Map of initialization parameters for the SerDe, in key-value form.
- serialization
Library String - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name string
- Name of the SerDe.
- parameters {[key: string]: string}
- Map of initialization parameters for the SerDe, in key-value form.
- serialization
Library string - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name str
- Name of the SerDe.
- parameters Mapping[str, str]
- Map of initialization parameters for the SerDe, in key-value form.
- serialization_
library str - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
- name String
- Name of the SerDe.
- parameters Map<String>
- Map of initialization parameters for the SerDe, in key-value form.
- serialization
Library String - Usually the class that implements the SerDe. An example is
org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.
CatalogTableStorageDescriptorSkewedInfo, CatalogTableStorageDescriptorSkewedInfoArgs
- Skewed
Column List<string>Names - List of names of columns that contain skewed values.
- Skewed
Column Dictionary<string, string>Value Location Maps - List of values that appear so frequently as to be considered skewed.
- Skewed
Column List<string>Values - Map of skewed values to the columns that contain them.
- Skewed
Column []stringNames - List of names of columns that contain skewed values.
- Skewed
Column map[string]stringValue Location Maps - List of values that appear so frequently as to be considered skewed.
- Skewed
Column []stringValues - Map of skewed values to the columns that contain them.
- skewed
Column List<String>Names - List of names of columns that contain skewed values.
- skewed
Column Map<String,String>Value Location Maps - List of values that appear so frequently as to be considered skewed.
- skewed
Column List<String>Values - Map of skewed values to the columns that contain them.
- skewed
Column string[]Names - List of names of columns that contain skewed values.
- skewed
Column {[key: string]: string}Value Location Maps - List of values that appear so frequently as to be considered skewed.
- skewed
Column string[]Values - Map of skewed values to the columns that contain them.
- skewed_
column_ Sequence[str]names - List of names of columns that contain skewed values.
- skewed_
column_ Mapping[str, str]value_ location_ maps - List of values that appear so frequently as to be considered skewed.
- skewed_
column_ Sequence[str]values - Map of skewed values to the columns that contain them.
- skewed
Column List<String>Names - List of names of columns that contain skewed values.
- skewed
Column Map<String>Value Location Maps - List of values that appear so frequently as to be considered skewed.
- skewed
Column List<String>Values - Map of skewed values to the columns that contain them.
CatalogTableStorageDescriptorSortColumn, CatalogTableStorageDescriptorSortColumnArgs
- column str
- Name of the column.
- sort_
order int - Whether the column is sorted in ascending (
1) or descending order (0).
CatalogTableTargetTable, CatalogTableTargetTableArgs
- Catalog
Id string - ID of the Data Catalog in which the table resides.
- Database
Name string - Name of the catalog database that contains the target table.
- Name string
- Name of the target table.
- Region string
- Region of the target table.
- Catalog
Id string - ID of the Data Catalog in which the table resides.
- Database
Name string - Name of the catalog database that contains the target table.
- Name string
- Name of the target table.
- Region string
- Region of the target table.
- catalog
Id String - ID of the Data Catalog in which the table resides.
- database
Name String - Name of the catalog database that contains the target table.
- name String
- Name of the target table.
- region String
- Region of the target table.
- catalog
Id string - ID of the Data Catalog in which the table resides.
- database
Name string - Name of the catalog database that contains the target table.
- name string
- Name of the target table.
- region string
- Region of the target table.
- catalog_
id str - ID of the Data Catalog in which the table resides.
- database_
name str - Name of the catalog database that contains the target table.
- name str
- Name of the target table.
- region str
- Region of the target table.
- catalog
Id String - ID of the Data Catalog in which the table resides.
- database
Name String - Name of the catalog database that contains the target table.
- name String
- Name of the target table.
- region String
- Region of the target table.
CatalogTableViewDefinition, CatalogTableViewDefinitionArgs
- Definer string
- The definer of a view in SQL.
- Is
Protected bool - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- Last
Refresh stringType - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - Refresh
Seconds int - Auto refresh interval in seconds for the materialized view.
- Representations
List<Catalog
Table View Definition Representation> - A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - Sub
Object List<int>Version Ids - List of the Apache Iceberg table versions referenced by the materialized view.
- Sub
Objects List<string> - A list of base table ARNs that make up the view.
- View
Version intId - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- View
Version stringToken - Version ID of the Apache Iceberg table.
- Definer string
- The definer of a view in SQL.
- Is
Protected bool - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- Last
Refresh stringType - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - Refresh
Seconds int - Auto refresh interval in seconds for the materialized view.
- Representations
[]Catalog
Table View Definition Representation - A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - Sub
Object []intVersion Ids - List of the Apache Iceberg table versions referenced by the materialized view.
- Sub
Objects []string - A list of base table ARNs that make up the view.
- View
Version intId - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- View
Version stringToken - Version ID of the Apache Iceberg table.
- definer String
- The definer of a view in SQL.
- is
Protected Boolean - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- last
Refresh StringType - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - refresh
Seconds Integer - Auto refresh interval in seconds for the materialized view.
- representations
List<Catalog
Table View Definition Representation> - A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - sub
Object List<Integer>Version Ids - List of the Apache Iceberg table versions referenced by the materialized view.
- sub
Objects List<String> - A list of base table ARNs that make up the view.
- view
Version IntegerId - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- view
Version StringToken - Version ID of the Apache Iceberg table.
- definer string
- The definer of a view in SQL.
- is
Protected boolean - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- last
Refresh stringType - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - refresh
Seconds number - Auto refresh interval in seconds for the materialized view.
- representations
Catalog
Table View Definition Representation[] - A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - sub
Object number[]Version Ids - List of the Apache Iceberg table versions referenced by the materialized view.
- sub
Objects string[] - A list of base table ARNs that make up the view.
- view
Version numberId - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- view
Version stringToken - Version ID of the Apache Iceberg table.
- definer str
- The definer of a view in SQL.
- is_
protected bool - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- last_
refresh_ strtype - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - refresh_
seconds int - Auto refresh interval in seconds for the materialized view.
- representations
Sequence[Catalog
Table View Definition Representation] - A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - sub_
object_ Sequence[int]version_ ids - List of the Apache Iceberg table versions referenced by the materialized view.
- sub_
objects Sequence[str] - A list of base table ARNs that make up the view.
- view_
version_ intid - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- view_
version_ strtoken - Version ID of the Apache Iceberg table.
- definer String
- The definer of a view in SQL.
- is
Protected Boolean - You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- last
Refresh StringType - Type of the materialized view's last refresh. Valid values:
Full,Incremental. - refresh
Seconds Number - Auto refresh interval in seconds for the materialized view.
- representations List<Property Map>
- A list of structures that contains the dialect of the view, and the query that defines the view. See
representationsbelow. - sub
Object List<Number>Version Ids - List of the Apache Iceberg table versions referenced by the materialized view.
- sub
Objects List<String> - A list of base table ARNs that make up the view.
- view
Version NumberId - ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- view
Version StringToken - Version ID of the Apache Iceberg table.
CatalogTableViewDefinitionRepresentation, CatalogTableViewDefinitionRepresentationArgs
- Dialect string
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - Dialect
Version string - A parameter that specifies the version of the engine of a specific representation.
- Validation
Connection string - The name of the connection to be used to validate the specific representation of the view.
- View
Expanded stringText - A string that represents the SQL query that describes the view with expanded resource ARNs.
- View
Original stringText - A string that represents the original SQL query that describes the view.
- Dialect string
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - Dialect
Version string - A parameter that specifies the version of the engine of a specific representation.
- Validation
Connection string - The name of the connection to be used to validate the specific representation of the view.
- View
Expanded stringText - A string that represents the SQL query that describes the view with expanded resource ARNs.
- View
Original stringText - A string that represents the original SQL query that describes the view.
- dialect String
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - dialect
Version String - A parameter that specifies the version of the engine of a specific representation.
- validation
Connection String - The name of the connection to be used to validate the specific representation of the view.
- view
Expanded StringText - A string that represents the SQL query that describes the view with expanded resource ARNs.
- view
Original StringText - A string that represents the original SQL query that describes the view.
- dialect string
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - dialect
Version string - A parameter that specifies the version of the engine of a specific representation.
- validation
Connection string - The name of the connection to be used to validate the specific representation of the view.
- view
Expanded stringText - A string that represents the SQL query that describes the view with expanded resource ARNs.
- view
Original stringText - A string that represents the original SQL query that describes the view.
- dialect str
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - dialect_
version str - A parameter that specifies the version of the engine of a specific representation.
- validation_
connection str - The name of the connection to be used to validate the specific representation of the view.
- view_
expanded_ strtext - A string that represents the SQL query that describes the view with expanded resource ARNs.
- view_
original_ strtext - A string that represents the original SQL query that describes the view.
- dialect String
- A parameter that specifies the engine type of a specific representation. Valid values are
REDSHIFT,ATHENA, andSPARK. - dialect
Version String - A parameter that specifies the version of the engine of a specific representation.
- validation
Connection String - The name of the connection to be used to validate the specific representation of the view.
- view
Expanded StringText - A string that represents the SQL query that describes the view with expanded resource ARNs.
- view
Original StringText - A string that represents the original SQL query that describes the view.
Import
Using pulumi import, import Glue Tables using the catalog ID (usually AWS account ID), database name, and table name. For example:
$ pulumi import aws:glue/catalogTable:CatalogTable MyTable 123456789012:MyDatabase:MyTable
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
published on Thursday, Apr 23, 2026 by Pulumi
