"use strict";var _a,_b;Object.defineProperty(exports,"__esModule",{value:!0}),exports.GlobalAcceleratorTarget=exports.GlobalAcceleratorDomainTarget=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class GlobalAcceleratorDomainTarget{constructor(acceleratorDomainName){this.acceleratorDomainName=acceleratorDomainName}bind(_record,_zone){try{jsiiDeprecationWarnings.aws_cdk_lib_aws_route53_IRecordSet(_record),jsiiDeprecationWarnings.aws_cdk_lib_aws_route53_IHostedZone(_zone)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bind),error}return{hostedZoneId:GlobalAcceleratorTarget.GLOBAL_ACCELERATOR_ZONE_ID,dnsName:this.acceleratorDomainName}}}exports.GlobalAcceleratorDomainTarget=GlobalAcceleratorDomainTarget,_a=JSII_RTTI_SYMBOL_1,GlobalAcceleratorDomainTarget[_a]={fqn:"aws-cdk-lib.aws_route53_targets.GlobalAcceleratorDomainTarget",version:"2.96.1"},GlobalAcceleratorDomainTarget.GLOBAL_ACCELERATOR_ZONE_ID="Z2BJ6XQ5FK7U4H";class GlobalAcceleratorTarget extends GlobalAcceleratorDomainTarget{constructor(accelerator){super(accelerator.dnsName);try{jsiiDeprecationWarnings.aws_cdk_lib_aws_globalaccelerator_IAccelerator(accelerator)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,GlobalAcceleratorTarget),error}}}exports.GlobalAcceleratorTarget=GlobalAcceleratorTarget,_b=JSII_RTTI_SYMBOL_1,GlobalAcceleratorTarget[_b]={fqn:"aws-cdk-lib.aws_route53_targets.GlobalAcceleratorTarget",version:"2.96.1"};
