"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.getResourcePolicyOutput = exports.getResourcePolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for a resource policy with specified policy statements that attaches to a Lex bot or bot alias.
 */
function getResourcePolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:lex:getResourcePolicy", {
        "id": args.id,
    }, opts);
}
exports.getResourcePolicy = getResourcePolicy;
/**
 * Resource Type definition for a resource policy with specified policy statements that attaches to a Lex bot or bot alias.
 */
function getResourcePolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:lex:getResourcePolicy", {
        "id": args.id,
    }, opts);
}
exports.getResourcePolicyOutput = getResourcePolicyOutput;
//# sourceMappingURL=getResourcePolicy.js.map