"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.RawEndpoint=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");class RawEndpoint{constructor(props){this.props=props;try{jsiiDeprecationWarnings.aws_cdk_lib_aws_globalaccelerator_RawEndpointProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,RawEndpoint),error}this.region=props.region}renderEndpointConfiguration(){return{endpointId:this.props.endpointId,weight:this.props.weight,clientIpPreservationEnabled:this.props.preserveClientIp}}}exports.RawEndpoint=RawEndpoint,_a=JSII_RTTI_SYMBOL_1,RawEndpoint[_a]={fqn:"aws-cdk-lib.aws_globalaccelerator.RawEndpoint",version:"2.96.1"};
