"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! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Workspace = exports.Scraper = exports.RuleGroupsNamespace = exports.ResourcePolicy = exports.getWorkspaceOutput = exports.getWorkspace = exports.getScraperOutput = exports.getScraper = exports.getRuleGroupsNamespaceOutput = exports.getRuleGroupsNamespace = exports.getResourcePolicyOutput = exports.getResourcePolicy = exports.getAnomalyDetectorOutput = exports.getAnomalyDetector = exports.AnomalyDetector = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.AnomalyDetector = null;
utilities.lazyLoad(exports, ["AnomalyDetector"], () => require("./anomalyDetector"));
exports.getAnomalyDetector = null;
exports.getAnomalyDetectorOutput = null;
utilities.lazyLoad(exports, ["getAnomalyDetector", "getAnomalyDetectorOutput"], () => require("./getAnomalyDetector"));
exports.getResourcePolicy = null;
exports.getResourcePolicyOutput = null;
utilities.lazyLoad(exports, ["getResourcePolicy", "getResourcePolicyOutput"], () => require("./getResourcePolicy"));
exports.getRuleGroupsNamespace = null;
exports.getRuleGroupsNamespaceOutput = null;
utilities.lazyLoad(exports, ["getRuleGroupsNamespace", "getRuleGroupsNamespaceOutput"], () => require("./getRuleGroupsNamespace"));
exports.getScraper = null;
exports.getScraperOutput = null;
utilities.lazyLoad(exports, ["getScraper", "getScraperOutput"], () => require("./getScraper"));
exports.getWorkspace = null;
exports.getWorkspaceOutput = null;
utilities.lazyLoad(exports, ["getWorkspace", "getWorkspaceOutput"], () => require("./getWorkspace"));
exports.ResourcePolicy = null;
utilities.lazyLoad(exports, ["ResourcePolicy"], () => require("./resourcePolicy"));
exports.RuleGroupsNamespace = null;
utilities.lazyLoad(exports, ["RuleGroupsNamespace"], () => require("./ruleGroupsNamespace"));
exports.Scraper = null;
utilities.lazyLoad(exports, ["Scraper"], () => require("./scraper"));
exports.Workspace = null;
utilities.lazyLoad(exports, ["Workspace"], () => require("./workspace"));
// Export enums:
__exportStar(require("../types/enums/aps"), exports);
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "aws-native:aps:AnomalyDetector":
                return new exports.AnomalyDetector(name, undefined, { urn });
            case "aws-native:aps:ResourcePolicy":
                return new exports.ResourcePolicy(name, undefined, { urn });
            case "aws-native:aps:RuleGroupsNamespace":
                return new exports.RuleGroupsNamespace(name, undefined, { urn });
            case "aws-native:aps:Scraper":
                return new exports.Scraper(name, undefined, { urn });
            case "aws-native:aps:Workspace":
                return new exports.Workspace(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("aws-native", "aps", _module);
//# sourceMappingURL=index.js.map