"use strict";
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DsDistributionConfiguration = exports.Distribution = exports.LaunchTemplateConfiguration = exports.FastLaunchConfiguration = exports.LaunchTemplate = exports.SnapshotConfiguration = exports.ContainerDistributionConfiguration = exports.TargetRepository = exports.AmiDistributionConfiguration = exports.LaunchPermission = void 0;
const core = __importStar(require("@terrascript/core"));
class LaunchPermission extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], LaunchPermission.prototype, "organizationArns", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], LaunchPermission.prototype, "organizationalUnitArns", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], LaunchPermission.prototype, "userGroups", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], LaunchPermission.prototype, "userIds", void 0);
exports.LaunchPermission = LaunchPermission;
class AmiDistributionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "amiTags", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "kmsKeyId", void 0);
__decorate([
    core.attr(LaunchPermission, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "launchPermission", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "name", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], AmiDistributionConfiguration.prototype, "targetAccountIds", void 0);
exports.AmiDistributionConfiguration = AmiDistributionConfiguration;
class TargetRepository extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TargetRepository.prototype, "repositoryName", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TargetRepository.prototype, "service", void 0);
exports.TargetRepository = TargetRepository;
class ContainerDistributionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], ContainerDistributionConfiguration.prototype, "containerTags", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], ContainerDistributionConfiguration.prototype, "description", void 0);
__decorate([
    core.attr(TargetRepository, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], ContainerDistributionConfiguration.prototype, "targetRepository", void 0);
exports.ContainerDistributionConfiguration = ContainerDistributionConfiguration;
class SnapshotConfiguration extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], SnapshotConfiguration.prototype, "targetResourceCount", void 0);
exports.SnapshotConfiguration = SnapshotConfiguration;
class LaunchTemplate extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "launchTemplateId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "launchTemplateName", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplate.prototype, "launchTemplateVersion", void 0);
exports.LaunchTemplate = LaunchTemplate;
class FastLaunchConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FastLaunchConfiguration.prototype, "accountId", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], FastLaunchConfiguration.prototype, "enabled", void 0);
__decorate([
    core.attr(LaunchTemplate, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], FastLaunchConfiguration.prototype, "launchTemplate", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], FastLaunchConfiguration.prototype, "maxParallelLaunches", void 0);
__decorate([
    core.attr(SnapshotConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], FastLaunchConfiguration.prototype, "snapshotConfiguration", void 0);
exports.FastLaunchConfiguration = FastLaunchConfiguration;
class LaunchTemplateConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplateConfiguration.prototype, "accountId", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplateConfiguration.prototype, "default", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], LaunchTemplateConfiguration.prototype, "launchTemplateId", void 0);
exports.LaunchTemplateConfiguration = LaunchTemplateConfiguration;
class Distribution extends core.Schema {
}
__decorate([
    core.attr(AmiDistributionConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Distribution.prototype, "amiDistributionConfiguration", void 0);
__decorate([
    core.attr(ContainerDistributionConfiguration, {
        computed: true,
        kind: "array",
    }),
    __metadata("design:type", Object)
], Distribution.prototype, "containerDistributionConfiguration", void 0);
__decorate([
    core.attr(FastLaunchConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Distribution.prototype, "fastLaunchConfiguration", void 0);
__decorate([
    core.attr(LaunchTemplateConfiguration, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Distribution.prototype, "launchTemplateConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Distribution.prototype, "licenseConfigurationArns", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Distribution.prototype, "region", void 0);
exports.Distribution = Distribution;
class DsDistributionConfiguration extends core.Data {
    constructor(name, args) {
        super(name, "aws_imagebuilder_distribution_configuration", args);
    }
    getNamespace() {
        return "aws_imagebuilder";
    }
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "dateCreated", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "dateUpdated", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "description", void 0);
__decorate([
    core.attr(Distribution, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "distribution", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "name", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], DsDistributionConfiguration.prototype, "tags", void 0);
exports.DsDistributionConfiguration = DsDistributionConfiguration;
//# sourceMappingURL=ds_distribution_configuration.js.map