"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 __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.CfnOrganizationalUnitAssociationPropsMixin = exports.CfnNotificationHubPropsMixin = exports.CfnNotificationConfigurationPropsMixin = exports.CfnManagedNotificationAdditionalChannelAssociationPropsMixin = exports.CfnManagedNotificationAccountContactAssociationPropsMixin = exports.CfnEventRulePropsMixin = exports.CfnChannelAssociationPropsMixin = void 0;
const jsiiDeprecationWarnings = require("../../../.warnings.jsii.js");
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
/* eslint-disable @stylistic/max-len, eol-last */
const cdk = __importStar(require("aws-cdk-lib/core"));
const service = __importStar(require("aws-cdk-lib/aws-notifications"));
/**
 * The `AWS::Notifications::ChannelAssociation` resource associates a `Channel` with a `NotificationConfiguration` for AWS User Notifications .
 *
 * For more information about AWS User Notifications , see the [AWS User Notifications User Guide](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html) .
 *
 * @cloudformationResource AWS::Notifications::ChannelAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-channelassociation.html
 */
class CfnChannelAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnChannelAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["arn", "notificationConfigurationArn"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::ChannelAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnChannelAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnChannelAssociationPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnChannelAssociation.isCfnChannelAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnChannelAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnChannelAssociationPropsMixin = CfnChannelAssociationPropsMixin;
/**
 * Creates an [`EventRule`](https://docs.aws.amazon.com/notifications/latest/userguide/glossary.html) that is associated with a specified `NotificationConfiguration` .
 *
 * @cloudformationResource AWS::Notifications::EventRule
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-eventrule.html
 */
class CfnEventRulePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnEventRulePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["eventPattern", "eventType", "notificationConfigurationArn", "regions", "source"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::EventRule`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnEventRuleMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnEventRulePropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnEventRule.isCfnEventRule(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnEventRulePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnEventRulePropsMixin = CfnEventRulePropsMixin;
/**
 * Associates an Account Management Contact with a `ManagedNotificationConfiguration` for AWS User Notifications .
 *
 * For more information about AWS User Notifications , see the [AWS User Notifications User Guide](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html) . For more information about Account Management Contacts, see the [Account Management Reference Guide](https://docs.aws.amazon.com/accounts/latest/reference/API_AlternateContact.html) .
 *
 * @cloudformationResource AWS::Notifications::ManagedNotificationAccountContactAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-managednotificationaccountcontactassociation.html
 */
class CfnManagedNotificationAccountContactAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnManagedNotificationAccountContactAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["contactIdentifier", "managedNotificationConfigurationArn"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::ManagedNotificationAccountContactAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnManagedNotificationAccountContactAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnManagedNotificationAccountContactAssociationPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnManagedNotificationAccountContactAssociation.isCfnManagedNotificationAccountContactAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnManagedNotificationAccountContactAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnManagedNotificationAccountContactAssociationPropsMixin = CfnManagedNotificationAccountContactAssociationPropsMixin;
/**
 * Associates a `Channel` with a `ManagedNotificationAdditionalChannelAssociation` for AWS User Notifications .
 *
 * For more information about AWS User Notifications , see the [AWS User Notifications User Guide](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html) .
 *
 * @cloudformationResource AWS::Notifications::ManagedNotificationAdditionalChannelAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-managednotificationadditionalchannelassociation.html
 */
class CfnManagedNotificationAdditionalChannelAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnManagedNotificationAdditionalChannelAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["channelArn", "managedNotificationConfigurationArn"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::ManagedNotificationAdditionalChannelAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnManagedNotificationAdditionalChannelAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnManagedNotificationAdditionalChannelAssociationPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnManagedNotificationAdditionalChannelAssociation.isCfnManagedNotificationAdditionalChannelAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnManagedNotificationAdditionalChannelAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnManagedNotificationAdditionalChannelAssociationPropsMixin = CfnManagedNotificationAdditionalChannelAssociationPropsMixin;
/**
 * Configures a `NotificationConfiguration` for AWS User Notifications .
 *
 * @cloudformationResource AWS::Notifications::NotificationConfiguration
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationconfiguration.html
 */
class CfnNotificationConfigurationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnNotificationConfigurationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["aggregationDuration", "description", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::NotificationConfiguration`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnNotificationConfigurationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnNotificationConfigurationPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnNotificationConfiguration.isCfnNotificationConfiguration(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnNotificationConfigurationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnNotificationConfigurationPropsMixin = CfnNotificationConfigurationPropsMixin;
/**
 * Configures a `NotificationHub` for AWS User Notifications .
 *
 * For more information about notification hub, see the [AWS User Notifications User Guide](https://docs.aws.amazon.com/notifications/latest/userguide/notification-hubs.html) .
 *
 * @cloudformationResource AWS::Notifications::NotificationHub
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-notificationhub.html
 */
class CfnNotificationHubPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnNotificationHubPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["region"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::NotificationHub`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnNotificationHubMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnNotificationHubPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnNotificationHub.isCfnNotificationHub(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnNotificationHubPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnNotificationHubPropsMixin = CfnNotificationHubPropsMixin;
/**
 * Resource Type definition for AWS::Notifications::OrganizationalUnitAssociation.
 *
 * @cloudformationResource AWS::Notifications::OrganizationalUnitAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-notifications-organizationalunitassociation.html
 */
class CfnOrganizationalUnitAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_notifications.CfnOrganizationalUnitAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["notificationConfigurationArn", "organizationalUnitId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Notifications::OrganizationalUnitAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_notifications_CfnOrganizationalUnitAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnOrganizationalUnitAssociationPropsMixin);
            }
            throw error;
        }
        this.props = props;
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnOrganizationalUnitAssociation.isCfnOrganizationalUnitAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnOrganizationalUnitAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnOrganizationalUnitAssociationPropsMixin = CfnOrganizationalUnitAssociationPropsMixin;
