"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.DsTrafficPolicyDocument = exports.Rule = exports.GeoProximityLocation = exports.Location = exports.Secondary = exports.Primary = exports.Items = exports.Region = exports.Endpoint = void 0;
const core = __importStar(require("@terrascript/core"));
class Endpoint extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Endpoint.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Endpoint.prototype, "region", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Endpoint.prototype, "type", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Endpoint.prototype, "value", void 0);
exports.Endpoint = Endpoint;
class Region extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Region.prototype, "endpointReference", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Region.prototype, "evaluateTargetHealth", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Region.prototype, "healthCheck", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Region.prototype, "region", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Region.prototype, "ruleReference", void 0);
exports.Region = Region;
class Items extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Items.prototype, "endpointReference", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Items.prototype, "healthCheck", void 0);
exports.Items = Items;
class Primary extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Primary.prototype, "endpointReference", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Primary.prototype, "evaluateTargetHealth", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Primary.prototype, "healthCheck", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Primary.prototype, "ruleReference", void 0);
exports.Primary = Primary;
class Secondary extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Secondary.prototype, "endpointReference", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Secondary.prototype, "evaluateTargetHealth", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Secondary.prototype, "healthCheck", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Secondary.prototype, "ruleReference", void 0);
exports.Secondary = Secondary;
class Location extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "continent", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "country", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "endpointReference", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Location.prototype, "evaluateTargetHealth", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "healthCheck", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Location.prototype, "isDefault", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "ruleReference", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Location.prototype, "subdivision", void 0);
exports.Location = Location;
class GeoProximityLocation extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "bias", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "endpointReference", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "evaluateTargetHealth", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "healthCheck", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "latitude", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "longitude", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "region", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], GeoProximityLocation.prototype, "ruleReference", void 0);
exports.GeoProximityLocation = GeoProximityLocation;
class Rule extends core.Schema {
}
__decorate([
    core.attr(GeoProximityLocation, { kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "geoProximityLocation", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rule.prototype, "id", void 0);
__decorate([
    core.attr(Items, { kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "items", void 0);
__decorate([
    core.attr(Location, { kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "location", void 0);
__decorate([
    core.attr(Primary),
    __metadata("design:type", Primary)
], Rule.prototype, "primary", void 0);
__decorate([
    core.attr(Region, { kind: "array" }),
    __metadata("design:type", Object)
], Rule.prototype, "region", void 0);
__decorate([
    core.attr(Secondary),
    __metadata("design:type", Secondary)
], Rule.prototype, "secondary", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rule.prototype, "type", void 0);
exports.Rule = Rule;
class DsTrafficPolicyDocument extends core.Data {
    constructor(name, args) {
        super(name, "aws_route53_traffic_policy_document", args);
    }
    getNamespace() {
        return "aws_route53";
    }
}
__decorate([
    core.attr(Endpoint, { kind: "array" }),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "endpoint", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "json", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "recordType", void 0);
__decorate([
    core.attr(Rule, { kind: "array" }),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "rule", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "startEndpoint", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "startRule", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DsTrafficPolicyDocument.prototype, "version", void 0);
exports.DsTrafficPolicyDocument = DsTrafficPolicyDocument;
//# sourceMappingURL=ds_traffic_policy_document.js.map