"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.RepositoryCreationTemplate = exports.Repository = exports.ReplicationConfiguration = exports.RegistryScanningConfiguration = exports.RegistryPolicy = exports.PullThroughCacheRule = exports.getRepositoryCreationTemplateOutput = exports.getRepositoryCreationTemplate = exports.getRepositoryOutput = exports.getRepository = exports.getReplicationConfigurationOutput = exports.getReplicationConfiguration = exports.getRegistryScanningConfigurationOutput = exports.getRegistryScanningConfiguration = exports.getRegistryPolicyOutput = exports.getRegistryPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
exports.getRegistryPolicy = null;
exports.getRegistryPolicyOutput = null;
utilities.lazyLoad(exports, ["getRegistryPolicy", "getRegistryPolicyOutput"], () => require("./getRegistryPolicy"));
exports.getRegistryScanningConfiguration = null;
exports.getRegistryScanningConfigurationOutput = null;
utilities.lazyLoad(exports, ["getRegistryScanningConfiguration", "getRegistryScanningConfigurationOutput"], () => require("./getRegistryScanningConfiguration"));
exports.getReplicationConfiguration = null;
exports.getReplicationConfigurationOutput = null;
utilities.lazyLoad(exports, ["getReplicationConfiguration", "getReplicationConfigurationOutput"], () => require("./getReplicationConfiguration"));
exports.getRepository = null;
exports.getRepositoryOutput = null;
utilities.lazyLoad(exports, ["getRepository", "getRepositoryOutput"], () => require("./getRepository"));
exports.getRepositoryCreationTemplate = null;
exports.getRepositoryCreationTemplateOutput = null;
utilities.lazyLoad(exports, ["getRepositoryCreationTemplate", "getRepositoryCreationTemplateOutput"], () => require("./getRepositoryCreationTemplate"));
exports.PullThroughCacheRule = null;
utilities.lazyLoad(exports, ["PullThroughCacheRule"], () => require("./pullThroughCacheRule"));
exports.RegistryPolicy = null;
utilities.lazyLoad(exports, ["RegistryPolicy"], () => require("./registryPolicy"));
exports.RegistryScanningConfiguration = null;
utilities.lazyLoad(exports, ["RegistryScanningConfiguration"], () => require("./registryScanningConfiguration"));
exports.ReplicationConfiguration = null;
utilities.lazyLoad(exports, ["ReplicationConfiguration"], () => require("./replicationConfiguration"));
exports.Repository = null;
utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
exports.RepositoryCreationTemplate = null;
utilities.lazyLoad(exports, ["RepositoryCreationTemplate"], () => require("./repositoryCreationTemplate"));
// Export enums:
__exportStar(require("../types/enums/ecr"), exports);
const _module = {
    version: utilities.getVersion(),
    construct: (name, type, urn) => {
        switch (type) {
            case "aws-native:ecr:PullThroughCacheRule":
                return new exports.PullThroughCacheRule(name, undefined, { urn });
            case "aws-native:ecr:RegistryPolicy":
                return new exports.RegistryPolicy(name, undefined, { urn });
            case "aws-native:ecr:RegistryScanningConfiguration":
                return new exports.RegistryScanningConfiguration(name, undefined, { urn });
            case "aws-native:ecr:ReplicationConfiguration":
                return new exports.ReplicationConfiguration(name, undefined, { urn });
            case "aws-native:ecr:Repository":
                return new exports.Repository(name, undefined, { urn });
            case "aws-native:ecr:RepositoryCreationTemplate":
                return new exports.RepositoryCreationTemplate(name, undefined, { urn });
            default:
                throw new Error(`unknown resource type ${type}`);
        }
    },
};
pulumi.runtime.registerResourceModule("aws-native", "ecr", _module);
//# sourceMappingURL=index.js.map