"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.Project = exports.FileSystemLocations = exports.BuildBatchConfig = exports.Restrictions = exports.Artifacts = exports.SecondarySourceVersion = exports.Cache = exports.VpcConfig = exports.SecondaryArtifacts = exports.Source = exports.SecondarySources = exports.BuildStatusConfig = exports.Auth = exports.GitSubmodulesConfig = exports.Environment = exports.EnvironmentVariable = exports.RegistryCredential = exports.LogsConfig = exports.CloudwatchLogs = exports.S3Logs = void 0;
const core = __importStar(require("@terrascript/core"));
class S3Logs extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3Logs.prototype, "bucketOwnerAccess", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], S3Logs.prototype, "encryptionDisabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3Logs.prototype, "location", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], S3Logs.prototype, "status", void 0);
exports.S3Logs = S3Logs;
class CloudwatchLogs extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLogs.prototype, "groupName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLogs.prototype, "status", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CloudwatchLogs.prototype, "streamName", void 0);
exports.CloudwatchLogs = CloudwatchLogs;
class LogsConfig extends core.Schema {
}
__decorate([
    core.attr(CloudwatchLogs),
    __metadata("design:type", CloudwatchLogs)
], LogsConfig.prototype, "cloudwatchLogs", void 0);
__decorate([
    core.attr(S3Logs),
    __metadata("design:type", S3Logs)
], LogsConfig.prototype, "s3Logs", void 0);
exports.LogsConfig = LogsConfig;
class RegistryCredential extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RegistryCredential.prototype, "credential", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RegistryCredential.prototype, "credentialProvider", void 0);
exports.RegistryCredential = RegistryCredential;
class EnvironmentVariable extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EnvironmentVariable.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EnvironmentVariable.prototype, "type", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EnvironmentVariable.prototype, "value", void 0);
exports.EnvironmentVariable = EnvironmentVariable;
class Environment extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "certificate", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "computeType", void 0);
__decorate([
    core.attr(EnvironmentVariable, { kind: "array" }),
    __metadata("design:type", Object)
], Environment.prototype, "environmentVariable", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "image", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "imagePullCredentialsType", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Environment.prototype, "privilegedMode", void 0);
__decorate([
    core.attr(RegistryCredential),
    __metadata("design:type", RegistryCredential)
], Environment.prototype, "registryCredential", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Environment.prototype, "type", void 0);
exports.Environment = Environment;
class GitSubmodulesConfig extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], GitSubmodulesConfig.prototype, "fetchSubmodules", void 0);
exports.GitSubmodulesConfig = GitSubmodulesConfig;
class Auth extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Auth.prototype, "resource", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Auth.prototype, "type", void 0);
exports.Auth = Auth;
class BuildStatusConfig extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BuildStatusConfig.prototype, "context", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BuildStatusConfig.prototype, "targetUrl", void 0);
exports.BuildStatusConfig = BuildStatusConfig;
class SecondarySources extends core.Schema {
}
__decorate([
    core.attr(Auth),
    __metadata("design:type", Auth)
], SecondarySources.prototype, "auth", void 0);
__decorate([
    core.attr(BuildStatusConfig),
    __metadata("design:type", BuildStatusConfig)
], SecondarySources.prototype, "buildStatusConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySources.prototype, "buildspec", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], SecondarySources.prototype, "gitCloneDepth", void 0);
__decorate([
    core.attr(GitSubmodulesConfig),
    __metadata("design:type", GitSubmodulesConfig)
], SecondarySources.prototype, "gitSubmodulesConfig", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SecondarySources.prototype, "insecureSsl", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySources.prototype, "location", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SecondarySources.prototype, "reportBuildStatus", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySources.prototype, "sourceIdentifier", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySources.prototype, "type", void 0);
exports.SecondarySources = SecondarySources;
class Source extends core.Schema {
}
__decorate([
    core.attr(Auth),
    __metadata("design:type", Auth)
], Source.prototype, "auth", void 0);
__decorate([
    core.attr(BuildStatusConfig),
    __metadata("design:type", BuildStatusConfig)
], Source.prototype, "buildStatusConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Source.prototype, "buildspec", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Source.prototype, "gitCloneDepth", void 0);
__decorate([
    core.attr(GitSubmodulesConfig),
    __metadata("design:type", GitSubmodulesConfig)
], Source.prototype, "gitSubmodulesConfig", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Source.prototype, "insecureSsl", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Source.prototype, "location", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Source.prototype, "reportBuildStatus", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Source.prototype, "type", void 0);
exports.Source = Source;
class SecondaryArtifacts extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "artifactIdentifier", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "bucketOwnerAccess", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "encryptionDisabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "location", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "namespaceType", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "overrideArtifactName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "packaging", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "path", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondaryArtifacts.prototype, "type", void 0);
exports.SecondaryArtifacts = SecondaryArtifacts;
class VpcConfig extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], VpcConfig.prototype, "securityGroupIds", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], VpcConfig.prototype, "subnets", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], VpcConfig.prototype, "vpcId", void 0);
exports.VpcConfig = VpcConfig;
class Cache extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Cache.prototype, "location", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Cache.prototype, "modes", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Cache.prototype, "type", void 0);
exports.Cache = Cache;
class SecondarySourceVersion extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySourceVersion.prototype, "sourceIdentifier", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SecondarySourceVersion.prototype, "sourceVersion", void 0);
exports.SecondarySourceVersion = SecondarySourceVersion;
class Artifacts extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "artifactIdentifier", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "bucketOwnerAccess", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Artifacts.prototype, "encryptionDisabled", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "location", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "namespaceType", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Artifacts.prototype, "overrideArtifactName", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "packaging", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "path", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Artifacts.prototype, "type", void 0);
exports.Artifacts = Artifacts;
class Restrictions extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Restrictions.prototype, "computeTypesAllowed", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Restrictions.prototype, "maximumBuildsAllowed", void 0);
exports.Restrictions = Restrictions;
class BuildBatchConfig extends core.Schema {
}
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], BuildBatchConfig.prototype, "combineArtifacts", void 0);
__decorate([
    core.attr(Restrictions),
    __metadata("design:type", Restrictions)
], BuildBatchConfig.prototype, "restrictions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BuildBatchConfig.prototype, "serviceRole", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], BuildBatchConfig.prototype, "timeoutInMins", void 0);
exports.BuildBatchConfig = BuildBatchConfig;
class FileSystemLocations extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FileSystemLocations.prototype, "identifier", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FileSystemLocations.prototype, "location", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FileSystemLocations.prototype, "mountOptions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FileSystemLocations.prototype, "mountPoint", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FileSystemLocations.prototype, "type", void 0);
exports.FileSystemLocations = FileSystemLocations;
class Project extends core.Resource {
    constructor(name, args) {
        super(name, "aws_codebuild_project", args);
    }
    getNamespace() {
        return "aws_codebuild";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "arn", void 0);
__decorate([
    core.attr(Artifacts),
    __metadata("design:type", Artifacts)
], Project.prototype, "artifacts", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Project.prototype, "badgeEnabled", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "badgeUrl", void 0);
__decorate([
    core.attr(BuildBatchConfig),
    __metadata("design:type", BuildBatchConfig)
], Project.prototype, "buildBatchConfig", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Project.prototype, "buildTimeout", void 0);
__decorate([
    core.attr(Cache),
    __metadata("design:type", Cache)
], Project.prototype, "cache", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Project.prototype, "concurrentBuildLimit", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "description", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "encryptionKey", void 0);
__decorate([
    core.attr(Environment),
    __metadata("design:type", Environment)
], Project.prototype, "environment", void 0);
__decorate([
    core.attr(FileSystemLocations, { kind: "array" }),
    __metadata("design:type", Object)
], Project.prototype, "fileSystemLocations", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "id", void 0);
__decorate([
    core.attr(LogsConfig),
    __metadata("design:type", LogsConfig)
], Project.prototype, "logsConfig", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Project.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Project.prototype, "projectVisibility", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Project.prototype, "publicProjectAlias", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Project.prototype, "queuedTimeout", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Project.prototype, "resourceAccessRole", void 0);
__decorate([
    core.attr(SecondaryArtifacts, { kind: "array" }),
    __metadata("design:type", Object)
], Project.prototype, "secondaryArtifacts", void 0);
__decorate([
    core.attr(SecondarySourceVersion, { kind: "array" }),
    __metadata("design:type", Object)
], Project.prototype, "secondarySourceVersion", void 0);
__decorate([
    core.attr(SecondarySources, { kind: "array" }),
    __metadata("design:type", Object)
], Project.prototype, "secondarySources", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Project.prototype, "serviceRole", void 0);
__decorate([
    core.attr(Source),
    __metadata("design:type", Source)
], Project.prototype, "source", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Project.prototype, "sourceVersion", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Project.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Project.prototype, "tagsAll", void 0);
__decorate([
    core.attr(VpcConfig),
    __metadata("design:type", VpcConfig)
], Project.prototype, "vpcConfig", void 0);
exports.Project = Project;
//# sourceMappingURL=project.js.map