"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.getEventBusPolicyOutput = exports.getEventBusPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Resource Type definition for AWS::Events::EventBusPolicy
 */
function getEventBusPolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:events:getEventBusPolicy", {
        "eventBusName": args.eventBusName,
        "statementId": args.statementId,
    }, opts);
}
exports.getEventBusPolicy = getEventBusPolicy;
/**
 * Resource Type definition for AWS::Events::EventBusPolicy
 */
function getEventBusPolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:events:getEventBusPolicy", {
        "eventBusName": args.eventBusName,
        "statementId": args.statementId,
    }, opts);
}
exports.getEventBusPolicyOutput = getEventBusPolicyOutput;
//# sourceMappingURL=getEventBusPolicy.js.map