"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.CostCategory = exports.SplitChargeRule = exports.Parameter = exports.Rule = exports.RuleRule = exports.Or = exports.Not = exports.And = exports.Tags = exports.Dimension = exports.CostCategoryBlk = exports.InheritedValue = void 0;
const core = __importStar(require("@terrascript/core"));
class InheritedValue extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InheritedValue.prototype, "dimensionKey", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], InheritedValue.prototype, "dimensionName", void 0);
exports.InheritedValue = InheritedValue;
class CostCategoryBlk extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategoryBlk.prototype, "values", void 0);
exports.CostCategoryBlk = CostCategoryBlk;
class Dimension extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Dimension.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Dimension.prototype, "values", void 0);
exports.Dimension = Dimension;
class Tags extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Tags.prototype, "key", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Tags.prototype, "matchOptions", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Tags.prototype, "values", void 0);
exports.Tags = Tags;
class And extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk),
    __metadata("design:type", CostCategoryBlk)
], And.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], And.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags),
    __metadata("design:type", Tags)
], And.prototype, "tags", void 0);
exports.And = And;
class Not extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk),
    __metadata("design:type", CostCategoryBlk)
], Not.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], Not.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags),
    __metadata("design:type", Tags)
], Not.prototype, "tags", void 0);
exports.Not = Not;
class Or extends core.Schema {
}
__decorate([
    core.attr(CostCategoryBlk),
    __metadata("design:type", CostCategoryBlk)
], Or.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], Or.prototype, "dimension", void 0);
__decorate([
    core.attr(Tags),
    __metadata("design:type", Tags)
], Or.prototype, "tags", void 0);
exports.Or = Or;
class RuleRule extends core.Schema {
}
__decorate([
    core.attr(And, { kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "and", void 0);
__decorate([
    core.attr(CostCategoryBlk),
    __metadata("design:type", CostCategoryBlk)
], RuleRule.prototype, "costCategory", void 0);
__decorate([
    core.attr(Dimension),
    __metadata("design:type", Dimension)
], RuleRule.prototype, "dimension", void 0);
__decorate([
    core.attr(Not),
    __metadata("design:type", Not)
], RuleRule.prototype, "not", void 0);
__decorate([
    core.attr(Or, { kind: "array" }),
    __metadata("design:type", Object)
], RuleRule.prototype, "or", void 0);
__decorate([
    core.attr(Tags),
    __metadata("design:type", Tags)
], RuleRule.prototype, "tags", void 0);
exports.RuleRule = RuleRule;
class Rule extends core.Schema {
}
__decorate([
    core.attr(InheritedValue),
    __metadata("design:type", InheritedValue)
], Rule.prototype, "inheritedValue", void 0);
__decorate([
    core.attr(RuleRule),
    __metadata("design:type", RuleRule)
], Rule.prototype, "rule", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rule.prototype, "type", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Rule.prototype, "value", void 0);
exports.Rule = Rule;
class Parameter extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Parameter.prototype, "type", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Parameter.prototype, "values", void 0);
exports.Parameter = Parameter;
class SplitChargeRule extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "method", void 0);
__decorate([
    core.attr(Parameter, { kind: "array" }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "parameter", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "source", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], SplitChargeRule.prototype, "targets", void 0);
exports.SplitChargeRule = SplitChargeRule;
class CostCategory extends core.Resource {
    constructor(name, args) {
        super(name, "aws_ce_cost_category", args);
    }
    getNamespace() {
        return "aws_ce";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CostCategory.prototype, "arn", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CostCategory.prototype, "defaultValue", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CostCategory.prototype, "effectiveEnd", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CostCategory.prototype, "effectiveStart", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], CostCategory.prototype, "id", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CostCategory.prototype, "name", void 0);
__decorate([
    core.attr(Rule, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "rule", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CostCategory.prototype, "ruleVersion", void 0);
__decorate([
    core.attr(SplitChargeRule, { kind: "array" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "splitChargeRule", void 0);
__decorate([
    core.attr(String, { kind: "map" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "tags", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "map" }),
    __metadata("design:type", Object)
], CostCategory.prototype, "tagsAll", void 0);
exports.CostCategory = CostCategory;
//# sourceMappingURL=cost_category.js.map