UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

60 lines 1.89 kB
"use strict"; // *** 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.getTableOutput = exports.getTable = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS Timestream Write Table. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.timestreamwrite.getTable({ * databaseName: testAwsTimestreamwriteDatabase.databaseName, * name: testAwsTimestreamwriteTable.tableName, * }); * ``` */ function getTable(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:timestreamwrite/getTable:getTable", { "databaseName": args.databaseName, "name": args.name, "region": args.region, }, opts); } exports.getTable = getTable; /** * Data source for managing an AWS Timestream Write Table. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.timestreamwrite.getTable({ * databaseName: testAwsTimestreamwriteDatabase.databaseName, * name: testAwsTimestreamwriteTable.tableName, * }); * ``` */ function getTableOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:timestreamwrite/getTable:getTable", { "databaseName": args.databaseName, "name": args.name, "region": args.region, }, opts); } exports.getTableOutput = getTableOutput; //# sourceMappingURL=getTable.js.map