getCatalogTable

This data source can be used to fetch information about an AWS Glue Data Catalog Table.

Example Usage

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()
.databaseName("MyCatalogDatabase")
.name("MyCatalogTable")
.build());
}
}

Return

A collection of values returned by getCatalogTable.

Parameters

argument

A collection of arguments for invoking getCatalogTable.


suspend fun getCatalogTable(catalogId: String? = null, databaseName: String, name: String, queryAsOfTime: String? = null, transactionId: Int? = null): GetCatalogTableResult

Return

A collection of values returned by getCatalogTable.

Parameters

catalogId

ID of the Glue Catalog and database where the table metadata resides. If omitted, this defaults to the current AWS Account ID.

databaseName

Name of the metadata database where the table metadata resides.

name

Name of the table.

queryAsOfTime

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.

transactionId

The transaction ID at which to read the table contents.

See also


Return

A collection of values returned by getCatalogTable.

Parameters

argument

Builder for com.pulumi.aws.glue.kotlin.inputs.GetCatalogTablePlainArgs.

See also