get Catalog Table
This data source can be used to fetch information about an AWS Glue Data Catalog Table.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.glue.getCatalogTable({
name: "MyCatalogTable",
databaseName: "MyCatalogDatabase",
});
import pulumi
import pulumi_aws as aws
example = aws.glue.get_catalog_table(name="MyCatalogTable",
database_name="MyCatalogDatabase")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = Aws.Glue.GetCatalogTable.Invoke(new()
{
Name = "MyCatalogTable",
DatabaseName = "MyCatalogDatabase",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/glue"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := glue.LookupCatalogTable(ctx, &glue.LookupCatalogTableArgs{
Name: "MyCatalogTable",
DatabaseName: "MyCatalogDatabase",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.glue.GlueFunctions;
import com.pulumi.aws.glue.inputs.GetCatalogTableArgs;
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) {
final var example = GlueFunctions.getCatalogTable(GetCatalogTableArgs.builder()
.name("MyCatalogTable")
.databaseName("MyCatalogDatabase")
.build());
}
}
variables:
example:
fn::invoke:
function: aws:glue:getCatalogTable
arguments:
name: MyCatalogTable
databaseName: MyCatalogDatabase
Return
A collection of values returned by getCatalogTable.
Parameters
A collection of arguments for invoking getCatalogTable.
Return
A collection of values returned by getCatalogTable.
Parameters
ID of the Glue Catalog and database where the table metadata resides. If omitted, this defaults to the current AWS Account ID.
Name of the metadata database where the table metadata resides.
Name of the table.
The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with transaction_id
. Specified in RFC 3339 format, e.g. 2006-01-02T15:04:05Z07:00
.
The transaction ID at which to read the table contents.
See also
Return
A collection of values returned by getCatalogTable.
Parameters
Builder for com.pulumi.aws.glue.kotlin.inputs.GetCatalogTablePlainArgs.