"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.Connection = exports.Routes = exports.VgwTelemetry = void 0;
const core = __importStar(require("@terrascript/core"));
class VgwTelemetry extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "acceptedRouteCount", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "certificateArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "lastStatusChange", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "outsideIpAddress", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "status", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], VgwTelemetry.prototype, "statusMessage", void 0);
exports.VgwTelemetry = VgwTelemetry;
class Routes extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Routes.prototype, "destinationCidrBlock", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Routes.prototype, "source", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Routes.prototype, "state", void 0);
exports.Routes = Routes;
class Connection extends core.Resource {
    constructor(name, args) {
        super(name, "aws_vpn_connection", args);
    }
    getNamespace() {
        return "aws_vpn";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "coreNetworkArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "coreNetworkAttachmentArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "customerGatewayConfiguration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "customerGatewayId", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "enableAcceleration", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "localIpv4NetworkCidr", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "localIpv6NetworkCidr", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "outsideIpAddressType", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "remoteIpv4NetworkCidr", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "remoteIpv6NetworkCidr", void 0);
__decorate([
    core.attr(Routes, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "routes", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "staticRoutesOnly", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], Connection.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], Connection.prototype, "tagsAll", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "transitGatewayAttachmentId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "transitGatewayId", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "transportTransitGatewayAttachmentId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Address", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1BgpAsn", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1BgpHoldtime", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1CgwInsideAddress", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1DpdTimeoutAction", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1DpdTimeoutSeconds", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1IkeVersions", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1InsideCidr", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1InsideIpv6Cidr", void 0);
__decorate([
    core.attr(Number, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase1DhGroupNumbers", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase1EncryptionAlgorithms", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase1IntegrityAlgorithms", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase1LifetimeSeconds", void 0);
__decorate([
    core.attr(Number, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase2DhGroupNumbers", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase2EncryptionAlgorithms", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase2IntegrityAlgorithms", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1Phase2LifetimeSeconds", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1PresharedKey", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1RekeyFuzzPercentage", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1RekeyMarginTimeSeconds", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1ReplayWindowSize", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1StartupAction", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel1VgwInsideAddress", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Address", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2BgpAsn", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2BgpHoldtime", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2CgwInsideAddress", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2DpdTimeoutAction", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2DpdTimeoutSeconds", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2IkeVersions", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2InsideCidr", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2InsideIpv6Cidr", void 0);
__decorate([
    core.attr(Number, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase1DhGroupNumbers", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase1EncryptionAlgorithms", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase1IntegrityAlgorithms", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase1LifetimeSeconds", void 0);
__decorate([
    core.attr(Number, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase2DhGroupNumbers", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase2EncryptionAlgorithms", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase2IntegrityAlgorithms", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2Phase2LifetimeSeconds", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2PresharedKey", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2RekeyFuzzPercentage", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2RekeyMarginTimeSeconds", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2ReplayWindowSize", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2StartupAction", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnel2VgwInsideAddress", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Connection.prototype, "tunnelInsideIpVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "type", void 0);
__decorate([
    core.attr(VgwTelemetry, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Connection.prototype, "vgwTelemetry", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Connection.prototype, "vpnGatewayId", void 0);
exports.Connection = Connection;
//# sourceMappingURL=connection.js.map