"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.getTablePolicyOutput = exports.getTablePolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::S3Tables::TablePolicy
 */
function getTablePolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:s3tables:getTablePolicy", {
        "tableArn": args.tableArn,
    }, opts);
}
exports.getTablePolicy = getTablePolicy;
/**
 * Resource Type definition for AWS::S3Tables::TablePolicy
 */
function getTablePolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:s3tables:getTablePolicy", {
        "tableArn": args.tableArn,
    }, opts);
}
exports.getTablePolicyOutput = getTablePolicyOutput;
//# sourceMappingURL=getTablePolicy.js.map