"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.DsCoreNetworkPolicyDocument = exports.Segments = exports.CoreNetworkConfiguration = exports.EdgeLocations = exports.AttachmentPolicies = exports.Action = exports.Conditions = exports.SegmentActions = void 0;
const core = __importStar(require("@terrascript/core"));
class SegmentActions extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SegmentActions.prototype, "action", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SegmentActions.prototype, "description", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], SegmentActions.prototype, "destinationCidrBlocks", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], SegmentActions.prototype, "destinations", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SegmentActions.prototype, "mode", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SegmentActions.prototype, "segment", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], SegmentActions.prototype, "shareWith", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], SegmentActions.prototype, "shareWithExcept", void 0);
exports.SegmentActions = SegmentActions;
class Conditions extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Conditions.prototype, "key", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Conditions.prototype, "operator", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Conditions.prototype, "type", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Conditions.prototype, "value", void 0);
exports.Conditions = Conditions;
class Action extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Action.prototype, "associationMethod", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Action.prototype, "requireAcceptance", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Action.prototype, "segment", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Action.prototype, "tagValueOfKey", void 0);
exports.Action = Action;
class AttachmentPolicies extends core.Schema {
}
__decorate([
    core.attr(Action),
    __metadata("design:type", Action)
], AttachmentPolicies.prototype, "action", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AttachmentPolicies.prototype, "conditionLogic", void 0);
__decorate([
    core.attr(Conditions, { kind: "array" }),
    __metadata("design:type", Object)
], AttachmentPolicies.prototype, "conditions", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], AttachmentPolicies.prototype, "description", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], AttachmentPolicies.prototype, "ruleNumber", void 0);
exports.AttachmentPolicies = AttachmentPolicies;
class EdgeLocations extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], EdgeLocations.prototype, "asn", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], EdgeLocations.prototype, "insideCidrBlocks", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], EdgeLocations.prototype, "location", void 0);
exports.EdgeLocations = EdgeLocations;
class CoreNetworkConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CoreNetworkConfiguration.prototype, "asnRanges", void 0);
__decorate([
    core.attr(EdgeLocations, { kind: "array" }),
    __metadata("design:type", Object)
], CoreNetworkConfiguration.prototype, "edgeLocations", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CoreNetworkConfiguration.prototype, "insideCidrBlocks", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], CoreNetworkConfiguration.prototype, "vpnEcmpSupport", void 0);
exports.CoreNetworkConfiguration = CoreNetworkConfiguration;
class Segments extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Segments.prototype, "allowFilter", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Segments.prototype, "denyFilter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Segments.prototype, "description", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Segments.prototype, "edgeLocations", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Segments.prototype, "isolateAttachments", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Segments.prototype, "name", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Segments.prototype, "requireAttachmentAcceptance", void 0);
exports.Segments = Segments;
class DsCoreNetworkPolicyDocument extends core.Data {
    constructor(name, args) {
        super(name, "aws_networkmanager_core_network_policy_document", args);
    }
    getNamespace() {
        return "aws_networkmanager";
    }
}
__decorate([
    core.attr(AttachmentPolicies, { kind: "array" }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "attachmentPolicies", void 0);
__decorate([
    core.attr(CoreNetworkConfiguration, { kind: "array" }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "coreNetworkConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "json", void 0);
__decorate([
    core.attr(SegmentActions, { kind: "array" }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "segmentActions", void 0);
__decorate([
    core.attr(Segments, { kind: "array" }),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "segments", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsCoreNetworkPolicyDocument.prototype, "version", void 0);
exports.DsCoreNetworkPolicyDocument = DsCoreNetworkPolicyDocument;
//# sourceMappingURL=ds_core_network_policy_document.js.map