"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.LoadBalancerTarget=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class LoadBalancerTarget{constructor(loadBalancer){this.loadBalancer=loadBalancer,jsiiDeprecationWarnings.aws_cdk_lib_aws_elasticloadbalancingv2_ILoadBalancerV2(loadBalancer)}bind(_record,_zone){return jsiiDeprecationWarnings.aws_cdk_lib_aws_route53_IRecordSet(_record),jsiiDeprecationWarnings.aws_cdk_lib_aws_route53_IHostedZone(_zone),{hostedZoneId:this.loadBalancer.loadBalancerCanonicalHostedZoneId,dnsName:`dualstack.${this.loadBalancer.loadBalancerDnsName}`}}}exports.LoadBalancerTarget=LoadBalancerTarget,_a=JSII_RTTI_SYMBOL_1,LoadBalancerTarget[_a]={fqn:"aws-cdk-lib.aws_route53_targets.LoadBalancerTarget",version:"2.13.0"};
//# sourceMappingURL=load-balancer-target.js.map
