"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.CfnTagOptionAssociationPropsMixin = exports.CfnTagOptionPropsMixin = exports.CfnStackSetConstraintPropsMixin = exports.CfnServiceActionAssociationPropsMixin = exports.CfnServiceActionPropsMixin = exports.CfnResourceUpdateConstraintPropsMixin = exports.CfnPortfolioSharePropsMixin = exports.CfnPortfolioProductAssociationPropsMixin = exports.CfnPortfolioPrincipalAssociationPropsMixin = exports.CfnPortfolioPropsMixin = exports.CfnLaunchTemplateConstraintPropsMixin = exports.CfnLaunchRoleConstraintPropsMixin = exports.CfnLaunchNotificationConstraintPropsMixin = exports.CfnCloudFormationProvisionedProductPropsMixin = exports.CfnCloudFormationProductPropsMixin = exports.CfnAcceptedPortfolioSharePropsMixin = 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-servicecatalog"));
/**
 * Accepts an offer to share the specified portfolio.
 *
 * @cloudformationResource AWS::ServiceCatalog::AcceptedPortfolioShare
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-acceptedportfolioshare.html
 */
class CfnAcceptedPortfolioSharePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnAcceptedPortfolioSharePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "portfolioId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::AcceptedPortfolioShare`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnAcceptedPortfolioShareMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnAcceptedPortfolioSharePropsMixin);
            }
            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.CfnAcceptedPortfolioShare.isCfnAcceptedPortfolioShare(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnAcceptedPortfolioSharePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnAcceptedPortfolioSharePropsMixin = CfnAcceptedPortfolioSharePropsMixin;
/**
 * Specifies a product.
 *
 * @cloudformationResource AWS::ServiceCatalog::CloudFormationProduct
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html
 */
class CfnCloudFormationProductPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnCloudFormationProductPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "distributor", "name", "owner", "productType", "provisioningArtifactParameters", "replaceProvisioningArtifacts", "sourceConnection", "supportDescription", "supportEmail", "supportUrl", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::CloudFormationProduct`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnCloudFormationProductMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCloudFormationProductPropsMixin);
            }
            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.CfnCloudFormationProduct.isCfnCloudFormationProduct(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCloudFormationProductPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCloudFormationProductPropsMixin = CfnCloudFormationProductPropsMixin;
/**
 * Provisions the specified product.
 *
 * A provisioned product is a resourced instance of a product. For example, provisioning a product based on a AWS CloudFormation template launches a AWS CloudFormation stack and its underlying resources. You can check the status of this request using [DescribeRecord](https://docs.aws.amazon.com/servicecatalog/latest/dg/API_DescribeRecord.html) .
 *
 * If the request contains a tag key with an empty list of values, there is a tag conflict for that key. Do not include conflicted keys as tags, or this causes the error "Parameter validation failed: Missing required parameter in Tags[ *N* ]: *Value* ".
 *
 * @cloudformationResource AWS::ServiceCatalog::CloudFormationProvisionedProduct
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationprovisionedproduct.html
 */
class CfnCloudFormationProvisionedProductPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnCloudFormationProvisionedProductPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "notificationArns", "pathId", "pathName", "productId", "productName", "provisionedProductName", "provisioningArtifactId", "provisioningArtifactName", "provisioningParameters", "provisioningPreferences", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::CloudFormationProvisionedProduct`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnCloudFormationProvisionedProductMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCloudFormationProvisionedProductPropsMixin);
            }
            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.CfnCloudFormationProvisionedProduct.isCfnCloudFormationProvisionedProduct(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCloudFormationProvisionedProductPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCloudFormationProvisionedProductPropsMixin = CfnCloudFormationProvisionedProductPropsMixin;
/**
 * Specifies a notification constraint.
 *
 * @cloudformationResource AWS::ServiceCatalog::LaunchNotificationConstraint
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchnotificationconstraint.html
 */
class CfnLaunchNotificationConstraintPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnLaunchNotificationConstraintPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "notificationArns", "portfolioId", "productId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::LaunchNotificationConstraint`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnLaunchNotificationConstraintMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnLaunchNotificationConstraintPropsMixin);
            }
            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.CfnLaunchNotificationConstraint.isCfnLaunchNotificationConstraint(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnLaunchNotificationConstraintPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnLaunchNotificationConstraintPropsMixin = CfnLaunchNotificationConstraintPropsMixin;
/**
 * Specifies a launch constraint.
 *
 * @cloudformationResource AWS::ServiceCatalog::LaunchRoleConstraint
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html
 */
class CfnLaunchRoleConstraintPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnLaunchRoleConstraintPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "localRoleName", "portfolioId", "productId", "roleArn"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::LaunchRoleConstraint`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnLaunchRoleConstraintMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnLaunchRoleConstraintPropsMixin);
            }
            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.CfnLaunchRoleConstraint.isCfnLaunchRoleConstraint(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnLaunchRoleConstraintPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnLaunchRoleConstraintPropsMixin = CfnLaunchRoleConstraintPropsMixin;
/**
 * Specifies a template constraint.
 *
 * @cloudformationResource AWS::ServiceCatalog::LaunchTemplateConstraint
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html
 */
class CfnLaunchTemplateConstraintPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnLaunchTemplateConstraintPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "portfolioId", "productId", "rules"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::LaunchTemplateConstraint`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnLaunchTemplateConstraintMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnLaunchTemplateConstraintPropsMixin);
            }
            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.CfnLaunchTemplateConstraint.isCfnLaunchTemplateConstraint(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnLaunchTemplateConstraintPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnLaunchTemplateConstraintPropsMixin = CfnLaunchTemplateConstraintPropsMixin;
/**
 * Specifies a portfolio.
 *
 * @cloudformationResource AWS::ServiceCatalog::Portfolio
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolio.html
 */
class CfnPortfolioPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnPortfolioPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "displayName", "providerName", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::Portfolio`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnPortfolioMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnPortfolioPropsMixin);
            }
            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.CfnPortfolio.isCfnPortfolio(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnPortfolioPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnPortfolioPropsMixin = CfnPortfolioPropsMixin;
/**
 * Associates the specified principal ARN with the specified portfolio.
 *
 * @cloudformationResource AWS::ServiceCatalog::PortfolioPrincipalAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html
 */
class CfnPortfolioPrincipalAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnPortfolioPrincipalAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "portfolioId", "principalArn", "principalType"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::PortfolioPrincipalAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnPortfolioPrincipalAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnPortfolioPrincipalAssociationPropsMixin);
            }
            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.CfnPortfolioPrincipalAssociation.isCfnPortfolioPrincipalAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnPortfolioPrincipalAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnPortfolioPrincipalAssociationPropsMixin = CfnPortfolioPrincipalAssociationPropsMixin;
/**
 * Associates the specified product with the specified portfolio.
 *
 * A delegated admin is authorized to invoke this command.
 *
 * @cloudformationResource AWS::ServiceCatalog::PortfolioProductAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html
 */
class CfnPortfolioProductAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnPortfolioProductAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "portfolioId", "productId", "sourcePortfolioId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::PortfolioProductAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnPortfolioProductAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnPortfolioProductAssociationPropsMixin);
            }
            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.CfnPortfolioProductAssociation.isCfnPortfolioProductAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnPortfolioProductAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnPortfolioProductAssociationPropsMixin = CfnPortfolioProductAssociationPropsMixin;
/**
 * Shares the specified portfolio with the specified account.
 *
 * @cloudformationResource AWS::ServiceCatalog::PortfolioShare
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioshare.html
 */
class CfnPortfolioSharePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnPortfolioSharePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "accountId", "portfolioId", "shareTagOptions"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::PortfolioShare`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnPortfolioShareMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnPortfolioSharePropsMixin);
            }
            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.CfnPortfolioShare.isCfnPortfolioShare(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnPortfolioSharePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnPortfolioSharePropsMixin = CfnPortfolioSharePropsMixin;
/**
 * Specifies a `RESOURCE_UPDATE` constraint.
 *
 * @cloudformationResource AWS::ServiceCatalog::ResourceUpdateConstraint
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-resourceupdateconstraint.html
 */
class CfnResourceUpdateConstraintPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnResourceUpdateConstraintPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "description", "portfolioId", "productId", "tagUpdateOnProvisionedProduct"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::ResourceUpdateConstraint`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnResourceUpdateConstraintMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnResourceUpdateConstraintPropsMixin);
            }
            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.CfnResourceUpdateConstraint.isCfnResourceUpdateConstraint(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnResourceUpdateConstraintPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnResourceUpdateConstraintPropsMixin = CfnResourceUpdateConstraintPropsMixin;
/**
 * Creates a self-service action.
 *
 * @cloudformationResource AWS::ServiceCatalog::ServiceAction
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceaction.html
 */
class CfnServiceActionPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnServiceActionPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "definition", "definitionType", "description", "name"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::ServiceAction`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnServiceActionMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnServiceActionPropsMixin);
            }
            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.CfnServiceAction.isCfnServiceAction(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnServiceActionPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnServiceActionPropsMixin = CfnServiceActionPropsMixin;
/**
 * A self-service action association consisting of the Action ID, the Product ID, and the Provisioning Artifact ID.
 *
 * @cloudformationResource AWS::ServiceCatalog::ServiceActionAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-serviceactionassociation.html
 */
class CfnServiceActionAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnServiceActionAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["productId", "provisioningArtifactId", "serviceActionId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::ServiceActionAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnServiceActionAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnServiceActionAssociationPropsMixin);
            }
            throw error;
        }
        this.props = {
            ...props,
            ...flattenCfnServiceActionAssociationMixinProps(props)
        };
        this.strategy = (options.strategy ?? cdk.PropertyMergeStrategy.combine());
    }
    /**
     * Check if this mixin supports the given construct
     */
    supports(construct) {
        return (cdk.CfnResource.isCfnResource(construct) && service.CfnServiceActionAssociation.isCfnServiceActionAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnServiceActionAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnServiceActionAssociationPropsMixin = CfnServiceActionAssociationPropsMixin;
// @ts-ignore TS6133
function flattenCfnServiceActionAssociationMixinProps(props) {
    const ret = {};
    if ((props.serviceActionId !== undefined))
        ret.serviceActionId = cdk.getRefProperty(props.serviceActionId?.serviceActionRef, 'serviceActionId') ?? cdk.ensureStringOrUndefined(props.serviceActionId, "serviceActionId", "servicecatalog.IServiceActionRef | string");
    return ret;
}
/**
 * Specifies a StackSet constraint.
 *
 * @cloudformationResource AWS::ServiceCatalog::StackSetConstraint
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.html
 */
class CfnStackSetConstraintPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnStackSetConstraintPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["acceptLanguage", "accountList", "adminRole", "description", "executionRole", "portfolioId", "productId", "regionList", "stackInstanceControl"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::StackSetConstraint`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnStackSetConstraintMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnStackSetConstraintPropsMixin);
            }
            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.CfnStackSetConstraint.isCfnStackSetConstraint(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnStackSetConstraintPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnStackSetConstraintPropsMixin = CfnStackSetConstraintPropsMixin;
/**
 * Specifies a TagOption.
 *
 * A TagOption is a key-value pair managed by AWS Service Catalog that serves as a template for creating an AWS tag.
 *
 * @cloudformationResource AWS::ServiceCatalog::TagOption
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoption.html
 */
class CfnTagOptionPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnTagOptionPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["active", "key", "value"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::TagOption`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnTagOptionMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnTagOptionPropsMixin);
            }
            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.CfnTagOption.isCfnTagOption(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnTagOptionPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnTagOptionPropsMixin = CfnTagOptionPropsMixin;
/**
 * Associate the specified TagOption with the specified portfolio or product.
 *
 * @cloudformationResource AWS::ServiceCatalog::TagOptionAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-tagoptionassociation.html
 */
class CfnTagOptionAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_servicecatalog.CfnTagOptionAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["resourceId", "tagOptionId"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ServiceCatalog::TagOptionAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_servicecatalog_CfnTagOptionAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnTagOptionAssociationPropsMixin);
            }
            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.CfnTagOptionAssociation.isCfnTagOptionAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnTagOptionAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnTagOptionAssociationPropsMixin = CfnTagOptionAssociationPropsMixin;
