"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.CfnOdbPeeringConnectionPropsMixin = exports.CfnOdbNetworkPropsMixin = exports.CfnCloudVmClusterPropsMixin = exports.CfnCloudExadataInfrastructurePropsMixin = exports.CfnCloudAutonomousVmClusterPropsMixin = 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-odb"));
/**
 * The `AWS::ODB::CloudAutonomousVmCluster` resource creates an Autonomous VM cluster.
 *
 * An Autonomous VM cluster provides the infrastructure for running Autonomous Databases.
 *
 * @cloudformationResource AWS::ODB::CloudAutonomousVmCluster
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudautonomousvmcluster.html
 */
class CfnCloudAutonomousVmClusterPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_odb.CfnCloudAutonomousVmClusterPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["autonomousDataStorageSizeInTBs", "cloudExadataInfrastructureId", "cpuCoreCountPerNode", "dbServers", "description", "displayName", "iamRoles", "isMtlsEnabledVmCluster", "licenseModel", "maintenanceWindow", "memoryPerOracleComputeUnitInGBs", "odbNetworkId", "scanListenerPortNonTls", "scanListenerPortTls", "tags", "timeZone", "totalContainerDatabases"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ODB::CloudAutonomousVmCluster`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_odb_CfnCloudAutonomousVmClusterMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCloudAutonomousVmClusterPropsMixin);
            }
            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.CfnCloudAutonomousVmCluster.isCfnCloudAutonomousVmCluster(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCloudAutonomousVmClusterPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCloudAutonomousVmClusterPropsMixin = CfnCloudAutonomousVmClusterPropsMixin;
/**
 * The `AWS::ODB::CloudExadataInfrastructure` resource creates an Exadata infrastructure.
 *
 * An Exadata infrastructure provides the underlying compute and storage resources for Oracle Database workloads.
 *
 * @cloudformationResource AWS::ODB::CloudExadataInfrastructure
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudexadatainfrastructure.html
 */
class CfnCloudExadataInfrastructurePropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_odb.CfnCloudExadataInfrastructurePropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["availabilityZone", "availabilityZoneId", "computeCount", "customerContactsToSendToOci", "databaseServerType", "displayName", "maintenanceWindow", "shape", "storageCount", "storageServerType", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ODB::CloudExadataInfrastructure`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_odb_CfnCloudExadataInfrastructureMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCloudExadataInfrastructurePropsMixin);
            }
            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.CfnCloudExadataInfrastructure.isCfnCloudExadataInfrastructure(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCloudExadataInfrastructurePropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCloudExadataInfrastructurePropsMixin = CfnCloudExadataInfrastructurePropsMixin;
/**
 * The `AWS::ODB::CloudVmCluster` resource creates a VM cluster on the specified Exadata infrastructure in the Oracle Database.
 *
 * A VM cluster provides the compute resources for Oracle Database workloads.
 *
 * @cloudformationResource AWS::ODB::CloudVmCluster
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-cloudvmcluster.html
 */
class CfnCloudVmClusterPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_odb.CfnCloudVmClusterPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["cloudExadataInfrastructureId", "clusterName", "cpuCoreCount", "dataCollectionOptions", "dataStorageSizeInTBs", "dbNodes", "dbNodeStorageSizeInGBs", "dbServers", "displayName", "giVersion", "hostname", "iamRoles", "isLocalBackupEnabled", "isSparseDiskgroupEnabled", "licenseModel", "memorySizeInGBs", "odbNetworkId", "scanListenerPortTcp", "sshPublicKeys", "systemVersion", "tags", "timeZone"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ODB::CloudVmCluster`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_odb_CfnCloudVmClusterMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnCloudVmClusterPropsMixin);
            }
            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.CfnCloudVmCluster.isCfnCloudVmCluster(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnCloudVmClusterPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnCloudVmClusterPropsMixin = CfnCloudVmClusterPropsMixin;
/**
 * The `AWS::ODB::OdbNetwork` resource creates an ODB network.
 *
 * An ODB network provides the networking foundation for Oracle Database resources.
 *
 * @cloudformationResource AWS::ODB::OdbNetwork
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbnetwork.html
 */
class CfnOdbNetworkPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_odb.CfnOdbNetworkPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["availabilityZone", "availabilityZoneId", "backupSubnetCidr", "clientSubnetCidr", "crossRegionS3RestoreSources", "customDomainName", "defaultDnsPrefix", "deleteAssociatedResources", "displayName", "kmsAccess", "kmsPolicyDocument", "s3Access", "s3PolicyDocument", "stsAccess", "stsPolicyDocument", "tags", "zeroEtlAccess"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ODB::OdbNetwork`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_odb_CfnOdbNetworkMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnOdbNetworkPropsMixin);
            }
            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.CfnOdbNetwork.isCfnOdbNetwork(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnOdbNetworkPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnOdbNetworkPropsMixin = CfnOdbNetworkPropsMixin;
/**
 * Creates a peering connection between an ODB network and a VPC.
 *
 * A peering connection enables private connectivity between the networks for application-tier communication.
 *
 * @cloudformationResource AWS::ODB::OdbPeeringConnection
 * @mixin true
 * @stability external
 * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-odb-odbpeeringconnection.html
 */
class CfnOdbPeeringConnectionPropsMixin extends cdk.Mixin {
    static [JSII_RTTI_SYMBOL_1] = { fqn: "@aws-cdk/cfn-property-mixins.aws_odb.CfnOdbPeeringConnectionPropsMixin", version: "2.258.1" };
    static CFN_PROPERTY_KEYS = ["additionalPeerNetworkCidrs", "displayName", "odbNetworkId", "peerNetworkId", "peerNetworkRouteTableIds", "tags"];
    props;
    strategy;
    /**
     * Create a mixin to apply properties to `AWS::ODB::OdbPeeringConnection`.
     *
     * @param props L1 properties to apply
     * @param options Mixin options
     */
    constructor(props, options = {}) {
        super();
        try {
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_aws_odb_CfnOdbPeeringConnectionMixinProps(props);
            jsiiDeprecationWarnings._aws_cdk_cfn_property_mixins_CfnPropertyMixinOptions(options);
        }
        catch (error) {
            if (process.env.JSII_DEBUG !== "1" && error.name === "DeprecationError") {
                Error.captureStackTrace(error, CfnOdbPeeringConnectionPropsMixin);
            }
            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.CfnOdbPeeringConnection.isCfnOdbPeeringConnection(construct));
    }
    /**
     * Apply the mixin properties to the construct
     */
    applyTo(construct) {
        if (this.supports(construct)) {
            this.strategy.apply(construct, this.props, CfnOdbPeeringConnectionPropsMixin.CFN_PROPERTY_KEYS);
        }
    }
}
exports.CfnOdbPeeringConnectionPropsMixin = CfnOdbPeeringConnectionPropsMixin;
