"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClusterParameterGroup=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var docdb_generated_1=()=>{var tmp=require("./docdb.generated");return docdb_generated_1=()=>tmp,tmp},core_1=()=>{var tmp=require("../../core");return core_1=()=>tmp,tmp};class ClusterParameterGroupBase extends core_1().Resource{static fromParameterGroupName(scope,id,parameterGroupName){class Import extends core_1().Resource{constructor(){super(...arguments),this.parameterGroupName=parameterGroupName}}return new Import(scope,id)}}class ClusterParameterGroup extends ClusterParameterGroupBase{constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_aws_docdb_ClusterParameterGroupProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,ClusterParameterGroup),error}const resource=new(docdb_generated_1()).CfnDBClusterParameterGroup(this,"Resource",{name:props.dbClusterParameterGroupName,description:props.description||`Cluster parameter group for ${props.family}`,family:props.family,parameters:props.parameters});this.parameterGroupName=resource.ref}}exports.ClusterParameterGroup=ClusterParameterGroup,_a=JSII_RTTI_SYMBOL_1,ClusterParameterGroup[_a]={fqn:"aws-cdk-lib.aws_docdb.ClusterParameterGroup",version:"2.148.1"};
