"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.DedicatedIpPool=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),ses_generated_1=require("./ses.generated"),core_1=require("../../core");class DedicatedIpPool extends core_1.Resource{static fromDedicatedIpPoolName(scope,id,dedicatedIpPoolName){class Import extends core_1.Resource{constructor(){super(...arguments),this.dedicatedIpPoolName=dedicatedIpPoolName}}return new Import(scope,id)}constructor(scope,id,props={}){super(scope,id,{physicalName:props.dedicatedIpPoolName});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_ses_DedicatedIpPoolProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,DedicatedIpPool),error}const pool=new ses_generated_1.CfnDedicatedIpPool(this,"Resource",{poolName:this.physicalName});this.dedicatedIpPoolName=pool.ref}}exports.DedicatedIpPool=DedicatedIpPool,_a=JSII_RTTI_SYMBOL_1,DedicatedIpPool[_a]={fqn:"aws-cdk-lib.aws_ses.DedicatedIpPool",version:"2.96.1"};
