"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.ClassicLoadBalancerTarget=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class ClassicLoadBalancerTarget{constructor(loadBalancer){this.loadBalancer=loadBalancer;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_elasticloadbalancing_LoadBalancer(loadBalancer)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,ClassicLoadBalancerTarget),error}}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:this.loadBalancer.loadBalancerCanonicalHostedZoneNameId,dnsName:`dualstack.${this.loadBalancer.loadBalancerDnsName}`}}}exports.ClassicLoadBalancerTarget=ClassicLoadBalancerTarget,_a=JSII_RTTI_SYMBOL_1,ClassicLoadBalancerTarget[_a]={fqn:"aws-cdk-lib.aws_route53_targets.ClassicLoadBalancerTarget",version:"2.148.1"};
