"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.RiskConfiguration = exports.AccountTakeoverRiskConfiguration = exports.NotifyConfiguration = exports.NoActionEmail = exports.MfaEmail = exports.BlockEmail = exports.AccountTakeoverRiskConfigurationActions = exports.HighAction = exports.MediumAction = exports.LowAction = exports.RiskExceptionConfiguration = exports.CompromisedCredentialsRiskConfiguration = exports.CompromisedCredentialsRiskConfigurationActions = void 0;
const core = __importStar(require("@terrascript/core"));
class CompromisedCredentialsRiskConfigurationActions extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CompromisedCredentialsRiskConfigurationActions.prototype, "eventAction", void 0);
exports.CompromisedCredentialsRiskConfigurationActions = CompromisedCredentialsRiskConfigurationActions;
class CompromisedCredentialsRiskConfiguration extends core.Schema {
}
__decorate([
    core.attr(CompromisedCredentialsRiskConfigurationActions),
    __metadata("design:type", CompromisedCredentialsRiskConfigurationActions)
], CompromisedCredentialsRiskConfiguration.prototype, "actions", void 0);
__decorate([
    core.attr(String, { computed: true, kind: "array" }),
    __metadata("design:type", Object)
], CompromisedCredentialsRiskConfiguration.prototype, "eventFilter", void 0);
exports.CompromisedCredentialsRiskConfiguration = CompromisedCredentialsRiskConfiguration;
class RiskExceptionConfiguration extends core.Schema {
}
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], RiskExceptionConfiguration.prototype, "blockedIpRangeList", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], RiskExceptionConfiguration.prototype, "skippedIpRangeList", void 0);
exports.RiskExceptionConfiguration = RiskExceptionConfiguration;
class LowAction extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], LowAction.prototype, "eventAction", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], LowAction.prototype, "notify", void 0);
exports.LowAction = LowAction;
class MediumAction extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MediumAction.prototype, "eventAction", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], MediumAction.prototype, "notify", void 0);
exports.MediumAction = MediumAction;
class HighAction extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], HighAction.prototype, "eventAction", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], HighAction.prototype, "notify", void 0);
exports.HighAction = HighAction;
class AccountTakeoverRiskConfigurationActions extends core.Schema {
}
__decorate([
    core.attr(HighAction),
    __metadata("design:type", HighAction)
], AccountTakeoverRiskConfigurationActions.prototype, "highAction", void 0);
__decorate([
    core.attr(LowAction),
    __metadata("design:type", LowAction)
], AccountTakeoverRiskConfigurationActions.prototype, "lowAction", void 0);
__decorate([
    core.attr(MediumAction),
    __metadata("design:type", MediumAction)
], AccountTakeoverRiskConfigurationActions.prototype, "mediumAction", void 0);
exports.AccountTakeoverRiskConfigurationActions = AccountTakeoverRiskConfigurationActions;
class BlockEmail extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BlockEmail.prototype, "htmlBody", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BlockEmail.prototype, "subject", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], BlockEmail.prototype, "textBody", void 0);
exports.BlockEmail = BlockEmail;
class MfaEmail extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MfaEmail.prototype, "htmlBody", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MfaEmail.prototype, "subject", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], MfaEmail.prototype, "textBody", void 0);
exports.MfaEmail = MfaEmail;
class NoActionEmail extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NoActionEmail.prototype, "htmlBody", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NoActionEmail.prototype, "subject", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NoActionEmail.prototype, "textBody", void 0);
exports.NoActionEmail = NoActionEmail;
class NotifyConfiguration extends core.Schema {
}
__decorate([
    core.attr(BlockEmail),
    __metadata("design:type", BlockEmail)
], NotifyConfiguration.prototype, "blockEmail", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NotifyConfiguration.prototype, "from", void 0);
__decorate([
    core.attr(MfaEmail),
    __metadata("design:type", MfaEmail)
], NotifyConfiguration.prototype, "mfaEmail", void 0);
__decorate([
    core.attr(NoActionEmail),
    __metadata("design:type", NoActionEmail)
], NotifyConfiguration.prototype, "noActionEmail", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NotifyConfiguration.prototype, "replyTo", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], NotifyConfiguration.prototype, "sourceArn", void 0);
exports.NotifyConfiguration = NotifyConfiguration;
class AccountTakeoverRiskConfiguration extends core.Schema {
}
__decorate([
    core.attr(AccountTakeoverRiskConfigurationActions),
    __metadata("design:type", AccountTakeoverRiskConfigurationActions)
], AccountTakeoverRiskConfiguration.prototype, "actions", void 0);
__decorate([
    core.attr(NotifyConfiguration),
    __metadata("design:type", NotifyConfiguration)
], AccountTakeoverRiskConfiguration.prototype, "notifyConfiguration", void 0);
exports.AccountTakeoverRiskConfiguration = AccountTakeoverRiskConfiguration;
class RiskConfiguration extends core.Resource {
    constructor(name, args) {
        super(name, "aws_cognito_risk_configuration", args);
    }
    getNamespace() {
        return "aws_cognito";
    }
}
__decorate([
    core.attr(AccountTakeoverRiskConfiguration),
    __metadata("design:type", AccountTakeoverRiskConfiguration)
], RiskConfiguration.prototype, "accountTakeoverRiskConfiguration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RiskConfiguration.prototype, "clientId", void 0);
__decorate([
    core.attr(CompromisedCredentialsRiskConfiguration),
    __metadata("design:type", CompromisedCredentialsRiskConfiguration)
], RiskConfiguration.prototype, "compromisedCredentialsRiskConfiguration", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], RiskConfiguration.prototype, "id", void 0);
__decorate([
    core.attr(RiskExceptionConfiguration),
    __metadata("design:type", RiskExceptionConfiguration)
], RiskConfiguration.prototype, "riskExceptionConfiguration", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RiskConfiguration.prototype, "userPoolId", void 0);
exports.RiskConfiguration = RiskConfiguration;
//# sourceMappingURL=risk_configuration.js.map