@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
62 lines • 2.14 kB
JavaScript
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCatalogTableOutput = exports.getCatalogTable = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* This data source can be used to fetch information about an AWS Glue Data Catalog Table.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.glue.getCatalogTable({
* name: "MyCatalogTable",
* databaseName: "MyCatalogDatabase",
* });
* ```
*/
function getCatalogTable(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:glue/getCatalogTable:getCatalogTable", {
"catalogId": args.catalogId,
"databaseName": args.databaseName,
"name": args.name,
"queryAsOfTime": args.queryAsOfTime,
"region": args.region,
"transactionId": args.transactionId,
}, opts);
}
exports.getCatalogTable = getCatalogTable;
/**
* This data source can be used to fetch information about an AWS Glue Data Catalog Table.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.glue.getCatalogTable({
* name: "MyCatalogTable",
* databaseName: "MyCatalogDatabase",
* });
* ```
*/
function getCatalogTableOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:glue/getCatalogTable:getCatalogTable", {
"catalogId": args.catalogId,
"databaseName": args.databaseName,
"name": args.name,
"queryAsOfTime": args.queryAsOfTime,
"region": args.region,
"transactionId": args.transactionId,
}, opts);
}
exports.getCatalogTableOutput = getCatalogTableOutput;
//# sourceMappingURL=getCatalogTable.js.map
;