"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.DsLbListener = exports.DefaultAction = exports.Redirect = exports.Forward = exports.Stickiness = exports.TargetGroup = exports.FixedResponse = exports.AuthenticateOidc = exports.AuthenticateCognito = void 0;
const core = __importStar(require("@terrascript/core"));
class AuthenticateCognito extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "authenticationRequestExtraParams", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "onUnauthenticatedRequest", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "scope", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "sessionCookieName", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "sessionTimeout", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "userPoolArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "userPoolClientId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateCognito.prototype, "userPoolDomain", void 0);
exports.AuthenticateCognito = AuthenticateCognito;
class AuthenticateOidc extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "authenticationRequestExtraParams", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "authorizationEndpoint", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "clientId", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "clientSecret", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "issuer", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "onUnauthenticatedRequest", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "scope", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "sessionCookieName", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "sessionTimeout", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "tokenEndpoint", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], AuthenticateOidc.prototype, "userInfoEndpoint", void 0);
exports.AuthenticateOidc = AuthenticateOidc;
class FixedResponse extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FixedResponse.prototype, "contentType", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FixedResponse.prototype, "messageBody", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], FixedResponse.prototype, "statusCode", void 0);
exports.FixedResponse = FixedResponse;
class TargetGroup extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], TargetGroup.prototype, "arn", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], TargetGroup.prototype, "weight", void 0);
exports.TargetGroup = TargetGroup;
class Stickiness extends core.Schema {
}
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], Stickiness.prototype, "duration", void 0);
__decorate([
    core.attr(Boolean, { computed: true }),
    __metadata("design:type", Object)
], Stickiness.prototype, "enabled", void 0);
exports.Stickiness = Stickiness;
class Forward extends core.Schema {
}
__decorate([
    core.attr(Stickiness, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Forward.prototype, "stickiness", void 0);
__decorate([
    core.attr(TargetGroup, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], Forward.prototype, "targetGroup", void 0);
exports.Forward = Forward;
class Redirect extends core.Schema {
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "host", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "path", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "port", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "protocol", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "query", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Redirect.prototype, "statusCode", void 0);
exports.Redirect = Redirect;
class DefaultAction extends core.Schema {
}
__decorate([
    core.attr(AuthenticateCognito, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "authenticateCognito", void 0);
__decorate([
    core.attr(AuthenticateOidc, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "authenticateOidc", void 0);
__decorate([
    core.attr(FixedResponse, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "fixedResponse", void 0);
__decorate([
    core.attr(Forward, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "forward", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "order", void 0);
__decorate([
    core.attr(Redirect, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "redirect", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "targetGroupArn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DefaultAction.prototype, "type", void 0);
exports.DefaultAction = DefaultAction;
class DsLbListener extends core.Data {
    constructor(name, args) {
        super(name, "aws_lb_listener", args);
    }
    getNamespace() {
        return "aws_elb";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "alpnPolicy", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "certificateArn", void 0);
__decorate([
    core.attr(DefaultAction, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "defaultAction", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "loadBalancerArn", void 0);
__decorate([
    core.attr(Number, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "port", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "protocol", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "sslPolicy", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], DsLbListener.prototype, "tags", void 0);
exports.DsLbListener = DsLbListener;
//# sourceMappingURL=ds_lb_listener.js.map