"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.CfnHostedZoneAssociationPropsMixin = exports.CfnGlobalResolverPropsMixin = exports.CfnFirewallRulePropsMixin = exports.CfnFirewallDomainListPropsMixin = exports.CfnDnsViewPropsMixin = exports.CfnAccessTokenPropsMixin = exports.CfnAccessSourcePropsMixin = 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-route53globalresolver"));
/**
 * Resource schema for AWS::Route53GlobalResolver::AccessSource.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::AccessSource
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-accesssource.html
 */
class CfnAccessSourcePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnAccessSourcePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["cidr", "clientToken", "dnsViewId", "ipAddressType", "name", "protocol", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::AccessSource`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnAccessSourceMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnAccessSourcePropsMixin);
            }
            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.CfnAccessSource.isCfnAccessSource(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnAccessSourcePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnAccessSourcePropsMixin = CfnAccessSourcePropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::AccessToken.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::AccessToken
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-accesstoken.html
 */
class CfnAccessTokenPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnAccessTokenPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["clientToken", "dnsViewId", "expiresAt", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::AccessToken`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnAccessTokenMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnAccessTokenPropsMixin);
            }
            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.CfnAccessToken.isCfnAccessToken(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnAccessTokenPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnAccessTokenPropsMixin = CfnAccessTokenPropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::DnsView.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::DnsView
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-dnsview.html
 */
class CfnDnsViewPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnDnsViewPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["clientToken", "description", "dnssecValidation", "ednsClientSubnet", "firewallRulesFailOpen", "globalResolverId", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::DnsView`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnDnsViewMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnDnsViewPropsMixin);
            }
            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.CfnDnsView.isCfnDnsView(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnDnsViewPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnDnsViewPropsMixin = CfnDnsViewPropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::FirewallDomainList.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::FirewallDomainList
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-firewalldomainlist.html
 */
class CfnFirewallDomainListPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnFirewallDomainListPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["clientToken", "description", "domainFileUrl", "domains", "globalResolverId", "name", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::FirewallDomainList`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnFirewallDomainListMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnFirewallDomainListPropsMixin);
            }
            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.CfnFirewallDomainList.isCfnFirewallDomainList(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnFirewallDomainListPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnFirewallDomainListPropsMixin = CfnFirewallDomainListPropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::FirewallRule.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::FirewallRule
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-firewallrule.html
 */
class CfnFirewallRulePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnFirewallRulePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["action", "blockOverrideDnsType", "blockOverrideDomain", "blockOverrideTtl", "blockResponse", "clientToken", "confidenceThreshold", "description", "dnsAdvancedProtection", "dnsViewId", "firewallDomainListId", "name", "priority", "qType"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::FirewallRule`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnFirewallRuleMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnFirewallRulePropsMixin);
            }
            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.CfnFirewallRule.isCfnFirewallRule(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnFirewallRulePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnFirewallRulePropsMixin = CfnFirewallRulePropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::GlobalResolver.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::GlobalResolver
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-globalresolver.html
 */
class CfnGlobalResolverPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnGlobalResolverPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["clientToken", "description", "ipAddressType", "name", "observabilityRegion", "regions", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::GlobalResolver`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnGlobalResolverMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnGlobalResolverPropsMixin);
            }
            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.CfnGlobalResolver.isCfnGlobalResolver(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnGlobalResolverPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnGlobalResolverPropsMixin = CfnGlobalResolverPropsMixin;
/**
 * Resource schema for AWS::Route53GlobalResolver::HostedZoneAssociation.
 *
 * @cloudformationResource AWS::Route53GlobalResolver::HostedZoneAssociation
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53globalresolver-hostedzoneassociation.html
 */
class CfnHostedZoneAssociationPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_route53globalresolver.CfnHostedZoneAssociationPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["hostedZoneId", "name", "resourceArn"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::Route53GlobalResolver::HostedZoneAssociation`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_route53globalresolver_CfnHostedZoneAssociationMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnHostedZoneAssociationPropsMixin);
            }
            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.CfnHostedZoneAssociation.isCfnHostedZoneAssociation(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnHostedZoneAssociationPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnHostedZoneAssociationPropsMixin = CfnHostedZoneAssociationPropsMixin;
