"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.CfnPrivacyBudgetTemplatePropsMixin = exports.CfnIdNamespaceAssociationPropsMixin = exports.CfnIdMappingTablePropsMixin = exports.CfnMembershipPropsMixin = exports.CfnConfiguredTableAssociationPropsMixin = exports.CfnConfiguredTablePropsMixin = exports.CfnCollaborationPropsMixin = exports.CfnAnalysisTemplatePropsMixin = 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-cleanrooms"));
/**
 * Creates a new analysis template.
 *
 * @cloudformationResource AWS::CleanRooms::AnalysisTemplate
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-analysistemplate.html
 */
class CfnAnalysisTemplatePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnAnalysisTemplatePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["analysisParameters", "description", "errorMessageConfiguration", "format", "membershipIdentifier", "name", "schema", "source", "sourceMetadata", "syntheticDataParameters", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::AnalysisTemplate`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnAnalysisTemplateMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnAnalysisTemplatePropsMixin);
            }
            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.CfnAnalysisTemplate.isCfnAnalysisTemplate(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnAnalysisTemplatePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnAnalysisTemplatePropsMixin = CfnAnalysisTemplatePropsMixin;
/**
 * Creates a new collaboration.
 *
 * @cloudformationResource AWS::CleanRooms::Collaboration
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-collaboration.html
 */
class CfnCollaborationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnCollaborationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["allowedResultRegions", "analyticsEngine", "autoApprovedChangeTypes", "creatorDisplayName", "creatorMemberAbilities", "creatorMlMemberAbilities", "creatorPaymentConfiguration", "dataEncryptionMetadata", "description", "isMetricsEnabled", "jobLogStatus", "members", "name", "queryLogStatus", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::Collaboration`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnCollaborationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCollaborationPropsMixin);
            }
            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.CfnCollaboration.isCfnCollaboration(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCollaborationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCollaborationPropsMixin = CfnCollaborationPropsMixin;
/**
 * Creates a new configured table resource.
 *
 * @cloudformationResource AWS::CleanRooms::ConfiguredTable
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtable.html
 */
class CfnConfiguredTablePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnConfiguredTablePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["allowedColumns", "analysisMethod", "analysisRules", "description", "name", "selectedAnalysisMethods", "tableReference", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::ConfiguredTable`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnConfiguredTableMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnConfiguredTablePropsMixin);
            }
            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.CfnConfiguredTable.isCfnConfiguredTable(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnConfiguredTablePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnConfiguredTablePropsMixin = CfnConfiguredTablePropsMixin;
/**
 * Creates a configured table association.
 *
 * A configured table association links a configured table with a collaboration.
 *
 * @cloudformationResource AWS::CleanRooms::ConfiguredTableAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-configuredtableassociation.html
 */
class CfnConfiguredTableAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnConfiguredTableAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["configuredTableAssociationAnalysisRules", "configuredTableIdentifier", "description", "membershipIdentifier", "name", "roleArn", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::ConfiguredTableAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnConfiguredTableAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnConfiguredTableAssociationPropsMixin);
            }
            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.CfnConfiguredTableAssociation.isCfnConfiguredTableAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnConfiguredTableAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnConfiguredTableAssociationPropsMixin = CfnConfiguredTableAssociationPropsMixin;
/**
 * Creates a membership for a specific collaboration identifier and joins the collaboration.
 *
 * @cloudformationResource AWS::CleanRooms::Membership
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-membership.html
 */
class CfnMembershipPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnMembershipPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["collaborationIdentifier", "defaultJobResultConfiguration", "defaultResultConfiguration", "isMetricsEnabled", "jobLogStatus", "paymentConfiguration", "queryLogStatus", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::Membership`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnMembershipMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnMembershipPropsMixin);
            }
            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.CfnMembership.isCfnMembership(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnMembershipPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnMembershipPropsMixin = CfnMembershipPropsMixin;
/**
 * Describes information about the ID mapping table.
 *
 * @cloudformationResource AWS::CleanRooms::IdMappingTable
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idmappingtable.html
 */
class CfnIdMappingTablePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnIdMappingTablePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["description", "inputReferenceConfig", "kmsKeyArn", "membershipIdentifier", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::IdMappingTable`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnIdMappingTableMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnIdMappingTablePropsMixin);
            }
            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.CfnIdMappingTable.isCfnIdMappingTable(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnIdMappingTablePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnIdMappingTablePropsMixin = CfnIdMappingTablePropsMixin;
/**
 * Provides information to create the ID namespace association.
 *
 * @cloudformationResource AWS::CleanRooms::IdNamespaceAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-idnamespaceassociation.html
 */
class CfnIdNamespaceAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnIdNamespaceAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["description", "idMappingConfig", "inputReferenceConfig", "membershipIdentifier", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::IdNamespaceAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnIdNamespaceAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnIdNamespaceAssociationPropsMixin);
            }
            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.CfnIdNamespaceAssociation.isCfnIdNamespaceAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnIdNamespaceAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnIdNamespaceAssociationPropsMixin = CfnIdNamespaceAssociationPropsMixin;
/**
 * An object that defines the privacy budget template.
 *
 * @cloudformationResource AWS::CleanRooms::PrivacyBudgetTemplate
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html
 */
class CfnPrivacyBudgetTemplatePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_cleanrooms.CfnPrivacyBudgetTemplatePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["autoRefresh", "membershipIdentifier", "parameters", "privacyBudgetType", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::CleanRooms::PrivacyBudgetTemplate`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_cleanrooms_CfnPrivacyBudgetTemplateMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnPrivacyBudgetTemplatePropsMixin);
            }
            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.CfnPrivacyBudgetTemplate.isCfnPrivacyBudgetTemplate(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnPrivacyBudgetTemplatePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnPrivacyBudgetTemplatePropsMixin = CfnPrivacyBudgetTemplatePropsMixin;
