UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 53.3 kB
"use strict";var __decorate=exports&&exports.__decorate||function(decorators,target,key,desc){var c=arguments.length,r=c<3?target:desc===null?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(c<3?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},_a,_b,_c,_d,_e,_f;Object.defineProperty(exports,"__esModule",{value:!0}),exports.InterfaceVpcEndpoint=exports.InterfaceVpcEndpointAwsService=exports.InterfaceVpcEndpointService=exports.GatewayVpcEndpoint=exports.GatewayVpcEndpointAwsService=exports.VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint=exports.VpcEndpointDnsRecordIpType=exports.VpcEndpointIpAddressType=exports.VpcEndpointType=exports.VpcEndpoint=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var connections_1=()=>{var tmp=require("./connections");return connections_1=()=>tmp,tmp},ec2_generated_1=()=>{var tmp=require("./ec2.generated");return ec2_generated_1=()=>tmp,tmp},peer_1=()=>{var tmp=require("./peer");return peer_1=()=>tmp,tmp},port_1=()=>{var tmp=require("./port");return port_1=()=>tmp,tmp},security_group_1=()=>{var tmp=require("./security-group");return security_group_1=()=>tmp,tmp},util_1=()=>{var tmp=require("./util");return util_1=()=>tmp,tmp},iam=()=>{var tmp=require("../../aws-iam");return iam=()=>tmp,tmp},cxschema=()=>{var tmp=require("../../cloud-assembly-schema");return cxschema=()=>tmp,tmp},core_1=()=>{var tmp=require("../../core");return core_1=()=>tmp,tmp},metadata_resource_1=()=>{var tmp=require("../../core/lib/metadata-resource");return metadata_resource_1=()=>tmp,tmp},prop_injectable_1=()=>{var tmp=require("../../core/lib/prop-injectable");return prop_injectable_1=()=>tmp,tmp};class VpcEndpoint extends core_1().Resource{addToPolicy(statement){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iam_PolicyStatement(statement)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.addToPolicy),error}if(!statement.hasPrincipal)throw new(core_1()).ValidationError("Statement must have a `Principal`.",this);this.policyDocument||(this.policyDocument=new(iam()).PolicyDocument),this.policyDocument.addStatements(statement)}}exports.VpcEndpoint=VpcEndpoint,_a=JSII_RTTI_SYMBOL_1,VpcEndpoint[_a]={fqn:"aws-cdk-lib.aws_ec2.VpcEndpoint",version:"2.202.0"};var VpcEndpointType;(function(VpcEndpointType2){VpcEndpointType2.INTERFACE="Interface",VpcEndpointType2.GATEWAY="Gateway",VpcEndpointType2.GATEWAYLOADBALANCER="GatewayLoadBalancer",VpcEndpointType2.SERVICENETWORK="ServiceNetwork",VpcEndpointType2.RESOURCE="Resource"})(VpcEndpointType||(exports.VpcEndpointType=VpcEndpointType={}));var VpcEndpointIpAddressType;(function(VpcEndpointIpAddressType2){VpcEndpointIpAddressType2.IPV4="ipv4",VpcEndpointIpAddressType2.IPV6="ipv6",VpcEndpointIpAddressType2.DUALSTACK="dualstack"})(VpcEndpointIpAddressType||(exports.VpcEndpointIpAddressType=VpcEndpointIpAddressType={}));var VpcEndpointDnsRecordIpType;(function(VpcEndpointDnsRecordIpType2){VpcEndpointDnsRecordIpType2.IPV4="ipv4",VpcEndpointDnsRecordIpType2.IPV6="ipv6",VpcEndpointDnsRecordIpType2.DUALSTACK="dualstack",VpcEndpointDnsRecordIpType2.SERVICE_DEFINED="service-defined"})(VpcEndpointDnsRecordIpType||(exports.VpcEndpointDnsRecordIpType=VpcEndpointDnsRecordIpType={}));var VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint;(function(VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint2){VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint2.ALL_RESOLVERS="AllResolvers",VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint2.ONLY_INBOUND_RESOLVER="OnlyInboundResolver"})(VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint||(exports.VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint=VpcEndpointPrivateDnsOnlyForInboundResolverEndpoint={}));class GatewayVpcEndpointAwsService{constructor(name,prefix){this.name=`${prefix||"com.amazonaws"}.${core_1().Aws.REGION}.${name}`}}exports.GatewayVpcEndpointAwsService=GatewayVpcEndpointAwsService,_b=JSII_RTTI_SYMBOL_1,GatewayVpcEndpointAwsService[_b]={fqn:"aws-cdk-lib.aws_ec2.GatewayVpcEndpointAwsService",version:"2.202.0"},GatewayVpcEndpointAwsService.DYNAMODB=new GatewayVpcEndpointAwsService("dynamodb"),GatewayVpcEndpointAwsService.S3=new GatewayVpcEndpointAwsService("s3"),GatewayVpcEndpointAwsService.S3_EXPRESS=new GatewayVpcEndpointAwsService("s3express");let GatewayVpcEndpoint=class GatewayVpcEndpoint2 extends VpcEndpoint{static fromGatewayVpcEndpointId(scope,id,gatewayVpcEndpointId){class Import extends VpcEndpoint{constructor(){super(...arguments),this.vpcEndpointId=gatewayVpcEndpointId}}return new Import(scope,id)}constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ec2_GatewayVpcEndpointProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,GatewayVpcEndpoint2),error}(0,metadata_resource_1().addConstructMetadata)(this,props);const subnets=props.subnets?(0,util_1().flatten)(props.subnets.map(s=>props.vpc.selectSubnets(s).subnets)):[...props.vpc.privateSubnets,...props.vpc.publicSubnets,...props.vpc.isolatedSubnets],routeTableIds=(0,util_1().allRouteTableIds)(subnets);if(routeTableIds.length===0)throw new(core_1()).ValidationError("Can't add a gateway endpoint to VPC; route table IDs are not available",this);const endpoint=new(ec2_generated_1()).CfnVPCEndpoint(this,"Resource",{policyDocument:core_1().Lazy.any({produce:()=>this.policyDocument}),routeTableIds,serviceName:props.service.name,vpcEndpointType:VpcEndpointType.GATEWAY,vpcId:props.vpc.vpcId});this.vpcEndpointId=endpoint.ref,this.vpcEndpointCreationTimestamp=endpoint.attrCreationTimestamp,this.vpcEndpointDnsEntries=endpoint.attrDnsEntries,this.vpcEndpointNetworkInterfaceIds=endpoint.attrNetworkInterfaceIds}};exports.GatewayVpcEndpoint=GatewayVpcEndpoint,_c=JSII_RTTI_SYMBOL_1,GatewayVpcEndpoint[_c]={fqn:"aws-cdk-lib.aws_ec2.GatewayVpcEndpoint",version:"2.202.0"},GatewayVpcEndpoint.PROPERTY_INJECTION_ID="aws-cdk-lib.aws-ec2.GatewayVpcEndpoint",exports.GatewayVpcEndpoint=GatewayVpcEndpoint=__decorate([prop_injectable_1().propertyInjectable],GatewayVpcEndpoint);class InterfaceVpcEndpointService{constructor(name,port){this.privateDnsDefault=!1,this.name=name,this.port=port||443}}exports.InterfaceVpcEndpointService=InterfaceVpcEndpointService,_d=JSII_RTTI_SYMBOL_1,InterfaceVpcEndpointService[_d]={fqn:"aws-cdk-lib.aws_ec2.InterfaceVpcEndpointService",version:"2.202.0"};class InterfaceVpcEndpointAwsService{constructor(name,prefix,port,props){this.privateDnsDefault=!0;try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ec2_InterfaceVpcEndpointAwsServiceProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,InterfaceVpcEndpointAwsService),error}const regionPrefix=props?.global?"":core_1().Lazy.uncachedString({produce:context=>core_1().Stack.of(context.scope).region})+".",defaultEndpointPrefix=core_1().Lazy.uncachedString({produce:context=>{const regionName=core_1().Stack.of(context.scope).region;return this.getDefaultEndpointPrefix(name,regionName)}}),defaultEndpointSuffix=core_1().Lazy.uncachedString({produce:context=>{const regionName=core_1().Stack.of(context.scope).region;return this.getDefaultEndpointSuffix(name,regionName)}});this.name=`${prefix||defaultEndpointPrefix}.${regionPrefix}${name}${defaultEndpointSuffix}`,this.shortName=name,this.port=port||443}getDefaultEndpointPrefix(name,region){return{"cn-north-1":["application-autoscaling","appmesh-envoy-management","athena","autoscaling","awsconnector","backup","batch","cassandra","cloudcontrolapi","cloudformation","codedeploy-commands-secure","databrew","dms","ebs","ec2","ecr.api","ecr.dkr","eks","elasticache","elasticbeanstalk","elasticfilesystem","elasticfilesystem-fips","emr-containers","execute-api","fsx","imagebuilder","iot.data","iotsitewise.api","iotsitewise.data","kinesis-streams","lambda","license-manager","monitoring","rds","redshift","redshift-data","s3","sagemaker.api","sagemaker.featurestore-runtime","sagemaker.runtime","securityhub","servicecatalog","sms","sqs","states","sts","sync-states","synthetics","transcribe","transcribestreaming","transfer","xray"],"cn-northwest-1":["account","application-autoscaling","appmesh-envoy-management","athena","autoscaling","awsconnector","backup","batch","cassandra","cloudcontrolapi","cloudformation","codedeploy-commands-secure","databrew","dms","ebs","ec2","ecr.api","ecr.dkr","eks","elasticache","elasticbeanstalk","elasticfilesystem","elasticfilesystem-fips","emr-containers","execute-api","fsx","imagebuilder","iot.data","kinesis-streams","lambda","license-manager","monitoring","polly","rds","redshift","redshift-data","s3","sagemaker.api","sagemaker.featurestore-runtime","sagemaker.runtime","securityhub","servicecatalog","sms","sqs","states","sts","sync-states","synthetics","transcribe","transcribestreaming","transfer","workspaces","xray"]}[region]?.includes(name)?"cn.com.amazonaws":"com.amazonaws"}getDefaultEndpointSuffix(name,region){return{"cn-north-1":["transcribe"],"cn-northwest-1":["transcribe"]}[region]?.includes(name)?".cn":""}}exports.InterfaceVpcEndpointAwsService=InterfaceVpcEndpointAwsService,_e=JSII_RTTI_SYMBOL_1,InterfaceVpcEndpointAwsService[_e]={fqn:"aws-cdk-lib.aws_ec2.InterfaceVpcEndpointAwsService",version:"2.202.0"},InterfaceVpcEndpointAwsService.ACCESS_ANALYZER=new InterfaceVpcEndpointAwsService("access-analyzer"),InterfaceVpcEndpointAwsService.ACCOUNT_MANAGEMENT=new InterfaceVpcEndpointAwsService("account"),InterfaceVpcEndpointAwsService.AIRFLOW_API=new InterfaceVpcEndpointAwsService("airflow.api"),InterfaceVpcEndpointAwsService.AIRFLOW_API_FIPS=new InterfaceVpcEndpointAwsService("airflow.api-fips"),InterfaceVpcEndpointAwsService.AIRFLOW_ENV=new InterfaceVpcEndpointAwsService("airflow.env"),InterfaceVpcEndpointAwsService.AIRFLOW_ENV_FIPS=new InterfaceVpcEndpointAwsService("airflow.env-fips"),InterfaceVpcEndpointAwsService.AIRFLOW_OPS=new InterfaceVpcEndpointAwsService("airflow.ops"),InterfaceVpcEndpointAwsService.APIGATEWAY=new InterfaceVpcEndpointAwsService("execute-api"),InterfaceVpcEndpointAwsService.APP_MESH=new InterfaceVpcEndpointAwsService("appmesh-envoy-management"),InterfaceVpcEndpointAwsService.APP_MESH_ENVOY_MANAGEMENT=new InterfaceVpcEndpointAwsService("appmesh-envoy-management"),InterfaceVpcEndpointAwsService.APP_MESH_OPS=new InterfaceVpcEndpointAwsService("appmesh"),InterfaceVpcEndpointAwsService.APP_RUNNER=new InterfaceVpcEndpointAwsService("apprunner"),InterfaceVpcEndpointAwsService.APP_RUNNER_REQUESTS=new InterfaceVpcEndpointAwsService("apprunner.requests"),InterfaceVpcEndpointAwsService.APP_SYNC=new InterfaceVpcEndpointAwsService("appsync-api"),InterfaceVpcEndpointAwsService.APPCONFIG=new InterfaceVpcEndpointAwsService("appconfig"),InterfaceVpcEndpointAwsService.APPCONFIGDATA=new InterfaceVpcEndpointAwsService("appconfigdata"),InterfaceVpcEndpointAwsService.APPLICATION_AUTOSCALING=new InterfaceVpcEndpointAwsService("application-autoscaling"),InterfaceVpcEndpointAwsService.APPLICATION_DISCOVERY_ARSENAL=new InterfaceVpcEndpointAwsService("arsenal-discovery"),InterfaceVpcEndpointAwsService.APPLICATION_DISCOVERY_SERVICE=new InterfaceVpcEndpointAwsService("discovery"),InterfaceVpcEndpointAwsService.APPLICATION_MIGRATION_SERVICE=new InterfaceVpcEndpointAwsService("mgn"),InterfaceVpcEndpointAwsService.APPSTREAM_API=new InterfaceVpcEndpointAwsService("appstream.api"),InterfaceVpcEndpointAwsService.APPSTREAM_STREAMING=new InterfaceVpcEndpointAwsService("appstream.streaming"),InterfaceVpcEndpointAwsService.ATHENA=new InterfaceVpcEndpointAwsService("athena"),InterfaceVpcEndpointAwsService.AUDIT_MANAGER=new InterfaceVpcEndpointAwsService("auditmanager"),InterfaceVpcEndpointAwsService.AUTOSCALING=new InterfaceVpcEndpointAwsService("autoscaling"),InterfaceVpcEndpointAwsService.AUTOSCALING_PLANS=new InterfaceVpcEndpointAwsService("autoscaling-plans"),InterfaceVpcEndpointAwsService.B2B_DATA_INTERCHANGE=new InterfaceVpcEndpointAwsService("b2bi"),InterfaceVpcEndpointAwsService.BACKUP=new InterfaceVpcEndpointAwsService("backup"),InterfaceVpcEndpointAwsService.BACKUP_GATEWAY=new InterfaceVpcEndpointAwsService("backup-gateway"),InterfaceVpcEndpointAwsService.BATCH=new InterfaceVpcEndpointAwsService("batch"),InterfaceVpcEndpointAwsService.BEDROCK=new InterfaceVpcEndpointAwsService("bedrock"),InterfaceVpcEndpointAwsService.BEDROCK_AGENT=new InterfaceVpcEndpointAwsService("bedrock-agent"),InterfaceVpcEndpointAwsService.BEDROCK_AGENT_RUNTIME=new InterfaceVpcEndpointAwsService("bedrock-agent-runtime"),InterfaceVpcEndpointAwsService.BEDROCK_RUNTIME=new InterfaceVpcEndpointAwsService("bedrock-runtime"),InterfaceVpcEndpointAwsService.BEDROCK_DATA_AUTOMATION=new InterfaceVpcEndpointAwsService("bedrock-data-automation"),InterfaceVpcEndpointAwsService.BEDROCK_DATA_AUTOMATION_FIPS=new InterfaceVpcEndpointAwsService("bedrock-data-automation-fips"),InterfaceVpcEndpointAwsService.BEDROCK_DATA_AUTOMATION_RUNTIME=new InterfaceVpcEndpointAwsService("bedrock-data-automation-runtime"),InterfaceVpcEndpointAwsService.BEDROCK_DATA_AUTOMATION_RUNTIME_FIPS=new InterfaceVpcEndpointAwsService("bedrock-data-automation-runtime-fips"),InterfaceVpcEndpointAwsService.BILLING=new InterfaceVpcEndpointAwsService("billing"),InterfaceVpcEndpointAwsService.BILLING_AND_COST_MANAGEMENT_FREETIER=new InterfaceVpcEndpointAwsService("freetier","aws.api"),InterfaceVpcEndpointAwsService.BILLING_AND_COST_MANAGEMENT_TAX=new InterfaceVpcEndpointAwsService("tax"),InterfaceVpcEndpointAwsService.BILLING_CONDUCTOR=new InterfaceVpcEndpointAwsService("billingconductor"),InterfaceVpcEndpointAwsService.BRAKET=new InterfaceVpcEndpointAwsService("braket"),InterfaceVpcEndpointAwsService.CLEAN_ROOMS=new InterfaceVpcEndpointAwsService("cleanrooms"),InterfaceVpcEndpointAwsService.CLEAN_ROOMS_ML=new InterfaceVpcEndpointAwsService("cleanrooms-ml"),InterfaceVpcEndpointAwsService.CLOUD_CONTROL_API=new InterfaceVpcEndpointAwsService("cloudcontrolapi"),InterfaceVpcEndpointAwsService.CLOUD_CONTROL_API_FIPS=new InterfaceVpcEndpointAwsService("cloudcontrolapi-fips"),InterfaceVpcEndpointAwsService.CLOUD_DIRECTORY=new InterfaceVpcEndpointAwsService("clouddirectory"),InterfaceVpcEndpointAwsService.CLOUD_MAP_DATA_SERVICE_DISCOVERY=new InterfaceVpcEndpointAwsService("data-servicediscovery"),InterfaceVpcEndpointAwsService.CLOUD_MAP_DATA_SERVICE_DISCOVERY_FIPS=new InterfaceVpcEndpointAwsService("data-servicediscovery-fips"),InterfaceVpcEndpointAwsService.CLOUD_MAP_SERVICE_DISCOVERY=new InterfaceVpcEndpointAwsService("servicediscovery"),InterfaceVpcEndpointAwsService.CLOUD_MAP_SERVICE_DISCOVERY_FIPS=new InterfaceVpcEndpointAwsService("servicediscovery-fips"),InterfaceVpcEndpointAwsService.CLOUDFORMATION=new InterfaceVpcEndpointAwsService("cloudformation"),InterfaceVpcEndpointAwsService.CLOUDHSM=new InterfaceVpcEndpointAwsService("cloudhsmv2"),InterfaceVpcEndpointAwsService.CLOUDTRAIL=new InterfaceVpcEndpointAwsService("cloudtrail"),InterfaceVpcEndpointAwsService.CODEWHISPERER=new InterfaceVpcEndpointAwsService("codewhisperer"),InterfaceVpcEndpointAwsService.CLOUDWATCH=new InterfaceVpcEndpointAwsService("monitoring"),InterfaceVpcEndpointAwsService.CLOUDWATCH_APPLICATION_INSIGHTS=new InterfaceVpcEndpointAwsService("applicationinsights"),InterfaceVpcEndpointAwsService.CLOUDWATCH_APPLICATION_SIGNALS=new InterfaceVpcEndpointAwsService("application-signals"),InterfaceVpcEndpointAwsService.CLOUDWATCH_EVENTS=new InterfaceVpcEndpointAwsService("events"),InterfaceVpcEndpointAwsService.CLOUDWATCH_EVIDENTLY=new InterfaceVpcEndpointAwsService("evidently"),InterfaceVpcEndpointAwsService.CLOUDWATCH_EVIDENTLY_DATAPLANE=new InterfaceVpcEndpointAwsService("evidently-dataplane"),InterfaceVpcEndpointAwsService.CLOUDWATCH_LOGS=new InterfaceVpcEndpointAwsService("logs"),InterfaceVpcEndpointAwsService.CLOUDWATCH_MONITORING=new InterfaceVpcEndpointAwsService("monitoring"),InterfaceVpcEndpointAwsService.CLOUDWATCH_NETWORK_MONITOR=new InterfaceVpcEndpointAwsService("networkmonitor"),InterfaceVpcEndpointAwsService.CLOUDWATCH_RUM=new InterfaceVpcEndpointAwsService("rum"),InterfaceVpcEndpointAwsService.CLOUDWATCH_RUM_DATAPLANE=new InterfaceVpcEndpointAwsService("rum-dataplane"),InterfaceVpcEndpointAwsService.CLOUDWATCH_SYNTHETICS=new InterfaceVpcEndpointAwsService("synthetics"),InterfaceVpcEndpointAwsService.CLOUDWATCH_SYNTHETICS_FIPS=new InterfaceVpcEndpointAwsService("synthetics-fips"),InterfaceVpcEndpointAwsService.CODEARTIFACT_API=new InterfaceVpcEndpointAwsService("codeartifact.api"),InterfaceVpcEndpointAwsService.CODEARTIFACT_REPOSITORIES=new InterfaceVpcEndpointAwsService("codeartifact.repositories"),InterfaceVpcEndpointAwsService.CODEBUILD=new InterfaceVpcEndpointAwsService("codebuild"),InterfaceVpcEndpointAwsService.CODEBUILD_FIPS=new InterfaceVpcEndpointAwsService("codebuild-fips"),InterfaceVpcEndpointAwsService.CODECATALYST=new InterfaceVpcEndpointAwsService("codecatalyst","aws.api.global",void 0,{global:!0}),InterfaceVpcEndpointAwsService.CODECATALYST_GIT=new InterfaceVpcEndpointAwsService("codecatalyst.git"),InterfaceVpcEndpointAwsService.CODECATALYST_PACKAGES=new InterfaceVpcEndpointAwsService("codecatalyst.packages"),InterfaceVpcEndpointAwsService.CODECOMMIT=new InterfaceVpcEndpointAwsService("codecommit"),InterfaceVpcEndpointAwsService.CODECOMMIT_FIPS=new InterfaceVpcEndpointAwsService("codecommit-fips"),InterfaceVpcEndpointAwsService.CODEDEPLOY=new InterfaceVpcEndpointAwsService("codedeploy"),InterfaceVpcEndpointAwsService.CODEDEPLOY_COMMANDS_SECURE=new InterfaceVpcEndpointAwsService("codedeploy-commands-secure"),InterfaceVpcEndpointAwsService.CODEGURU_PROFILER=new InterfaceVpcEndpointAwsService("codeguru-profiler"),InterfaceVpcEndpointAwsService.CODEGURU_REVIEWER=new InterfaceVpcEndpointAwsService("codeguru-reviewer"),InterfaceVpcEndpointAwsService.CODEPIPELINE=new InterfaceVpcEndpointAwsService("codepipeline"),InterfaceVpcEndpointAwsService.CODESTAR_CONNECTIONS=new InterfaceVpcEndpointAwsService("codestar-connections.api"),InterfaceVpcEndpointAwsService.CODE_CONNECTIONS=new InterfaceVpcEndpointAwsService("codeconnections.api"),InterfaceVpcEndpointAwsService.COMPREHEND=new InterfaceVpcEndpointAwsService("comprehend"),InterfaceVpcEndpointAwsService.COMPREHEND_MEDICAL=new InterfaceVpcEndpointAwsService("comprehendmedical"),InterfaceVpcEndpointAwsService.COMPUTE_OPTIMIZER=new InterfaceVpcEndpointAwsService("compute-optimizer"),InterfaceVpcEndpointAwsService.CONFIG=new InterfaceVpcEndpointAwsService("config"),InterfaceVpcEndpointAwsService.CONNECT_APP_INTEGRATIONS=new InterfaceVpcEndpointAwsService("app-integrations"),InterfaceVpcEndpointAwsService.CONNECT_CASES=new InterfaceVpcEndpointAwsService("cases"),InterfaceVpcEndpointAwsService.CONNECT_CONNECT_CAMPAIGNS=new InterfaceVpcEndpointAwsService("connect-campaigns"),InterfaceVpcEndpointAwsService.CONNECT_PROFILE=new InterfaceVpcEndpointAwsService("profile"),InterfaceVpcEndpointAwsService.CONNECT_VOICEID=new InterfaceVpcEndpointAwsService("voiceid"),InterfaceVpcEndpointAwsService.CONNECT_WISDOM=new InterfaceVpcEndpointAwsService("wisdom"),InterfaceVpcEndpointAwsService.CONTROL_CATALOG=new InterfaceVpcEndpointAwsService("controlcatalog"),InterfaceVpcEndpointAwsService.COST_EXPLORER=new InterfaceVpcEndpointAwsService("ce"),InterfaceVpcEndpointAwsService.COST_OPTIMIZATION_HUB=new InterfaceVpcEndpointAwsService("cost-optimization-hub"),InterfaceVpcEndpointAwsService.DATA_EXCHANGE=new InterfaceVpcEndpointAwsService("dataexchange"),InterfaceVpcEndpointAwsService.DATA_EXPORTS=new InterfaceVpcEndpointAwsService("bcm-data-exports","aws.api"),InterfaceVpcEndpointAwsService.DATASYNC=new InterfaceVpcEndpointAwsService("datasync"),InterfaceVpcEndpointAwsService.DATAZONE=new InterfaceVpcEndpointAwsService("datazone"),InterfaceVpcEndpointAwsService.DATABASE_MIGRATION_SERVICE=new InterfaceVpcEndpointAwsService("dms"),InterfaceVpcEndpointAwsService.DATABASE_MIGRATION_SERVICE_FIPS=new InterfaceVpcEndpointAwsService("dms-fips"),InterfaceVpcEndpointAwsService.DEADLINE_CLOUD_MANAGEMENT=new InterfaceVpcEndpointAwsService("deadline.management"),InterfaceVpcEndpointAwsService.DEADLINE_CLOUD_SCHEDULING=new InterfaceVpcEndpointAwsService("deadline.scheduling"),InterfaceVpcEndpointAwsService.DEVOPS_GURU=new InterfaceVpcEndpointAwsService("devops-guru"),InterfaceVpcEndpointAwsService.DIRECTORY_SERVICE=new InterfaceVpcEndpointAwsService("ds"),InterfaceVpcEndpointAwsService.DIRECTORY_SERVICE_DATA=new InterfaceVpcEndpointAwsService("ds-data"),InterfaceVpcEndpointAwsService.DSQL_MANAGEMENT=new InterfaceVpcEndpointAwsService("dsql"),InterfaceVpcEndpointAwsService.DYNAMODB=new InterfaceVpcEndpointAwsService("dynamodb"),InterfaceVpcEndpointAwsService.DYNAMODB_FIPS=new InterfaceVpcEndpointAwsService("dynamodb-fips"),InterfaceVpcEndpointAwsService.DYNAMODB_STREAMS=new InterfaceVpcEndpointAwsService("dynamodb-streams"),InterfaceVpcEndpointAwsService.EBS_DIRECT=new InterfaceVpcEndpointAwsService("ebs"),InterfaceVpcEndpointAwsService.EC2=new InterfaceVpcEndpointAwsService("ec2"),InterfaceVpcEndpointAwsService.EC2_MESSAGES=new InterfaceVpcEndpointAwsService("ec2messages"),InterfaceVpcEndpointAwsService.ECR=new InterfaceVpcEndpointAwsService("ecr.api"),InterfaceVpcEndpointAwsService.ECR_DOCKER=new InterfaceVpcEndpointAwsService("ecr.dkr"),InterfaceVpcEndpointAwsService.ECS=new InterfaceVpcEndpointAwsService("ecs"),InterfaceVpcEndpointAwsService.ECS_AGENT=new InterfaceVpcEndpointAwsService("ecs-agent"),InterfaceVpcEndpointAwsService.ECS_TELEMETRY=new InterfaceVpcEndpointAwsService("ecs-telemetry"),InterfaceVpcEndpointAwsService.EKS=new InterfaceVpcEndpointAwsService("eks"),InterfaceVpcEndpointAwsService.EKS_AUTH=new InterfaceVpcEndpointAwsService("eks-auth"),InterfaceVpcEndpointAwsService.ELASTIC_BEANSTALK=new InterfaceVpcEndpointAwsService("elasticbeanstalk"),InterfaceVpcEndpointAwsService.ELASTIC_BEANSTALK_HEALTH=new InterfaceVpcEndpointAwsService("elasticbeanstalk-health"),InterfaceVpcEndpointAwsService.ELASTIC_DISASTER_RECOVERY=new InterfaceVpcEndpointAwsService("drs"),InterfaceVpcEndpointAwsService.ELASTIC_FILESYSTEM=new InterfaceVpcEndpointAwsService("elasticfilesystem"),InterfaceVpcEndpointAwsService.ELASTIC_FILESYSTEM_FIPS=new InterfaceVpcEndpointAwsService("elasticfilesystem-fips"),InterfaceVpcEndpointAwsService.ELASTIC_INFERENCE_RUNTIME=new InterfaceVpcEndpointAwsService("elastic-inference.runtime"),InterfaceVpcEndpointAwsService.ELASTIC_LOAD_BALANCING=new InterfaceVpcEndpointAwsService("elasticloadbalancing"),InterfaceVpcEndpointAwsService.ELASTICACHE=new InterfaceVpcEndpointAwsService("elasticache"),InterfaceVpcEndpointAwsService.ELASTICACHE_FIPS=new InterfaceVpcEndpointAwsService("elasticache-fips"),InterfaceVpcEndpointAwsService.ELEMENTAL_MEDIACONNECT=new InterfaceVpcEndpointAwsService("mediaconnect"),InterfaceVpcEndpointAwsService.EMAIL_SMTP=new InterfaceVpcEndpointAwsService("email-smtp"),InterfaceVpcEndpointAwsService.EMR=new InterfaceVpcEndpointAwsService("elasticmapreduce"),InterfaceVpcEndpointAwsService.EMR_EKS=new InterfaceVpcEndpointAwsService("emr-containers"),InterfaceVpcEndpointAwsService.EMR_SERVERLESS=new InterfaceVpcEndpointAwsService("emr-serverless"),InterfaceVpcEndpointAwsService.EMR_SERVERLESS_LIVY=new InterfaceVpcEndpointAwsService("emr-serverless-services.livy"),InterfaceVpcEndpointAwsService.EMR_SERVERLESS_DASHBOARD=new InterfaceVpcEndpointAwsService("emr-serverless.dashboard"),InterfaceVpcEndpointAwsService.EMR_WAL=new InterfaceVpcEndpointAwsService("emrwal.prod"),InterfaceVpcEndpointAwsService.END_USER_MESSAGING_SOCIAL=new InterfaceVpcEndpointAwsService("social-messaging"),InterfaceVpcEndpointAwsService.ENTITY_RESOLUTION=new InterfaceVpcEndpointAwsService("entityresolution"),InterfaceVpcEndpointAwsService.EVENTBRIDGE=new InterfaceVpcEndpointAwsService("events"),InterfaceVpcEndpointAwsService.EVENTBRIDGE_SCHEMA_REGISTRY=new InterfaceVpcEndpointAwsService("schemas"),InterfaceVpcEndpointAwsService.FAULT_INJECTION_SIMULATOR=new InterfaceVpcEndpointAwsService("fis"),InterfaceVpcEndpointAwsService.FINSPACE=new InterfaceVpcEndpointAwsService("finspace"),InterfaceVpcEndpointAwsService.FINSPACE_API=new InterfaceVpcEndpointAwsService("finspace-api"),InterfaceVpcEndpointAwsService.FORECAST=new InterfaceVpcEndpointAwsService("forecast"),InterfaceVpcEndpointAwsService.FORECAST_QUERY=new InterfaceVpcEndpointAwsService("forecastquery"),InterfaceVpcEndpointAwsService.FORECAST_FIPS=new InterfaceVpcEndpointAwsService("forecast-fips"),InterfaceVpcEndpointAwsService.FORECAST_QUERY_FIPS=new InterfaceVpcEndpointAwsService("forecastquery-fips"),InterfaceVpcEndpointAwsService.FRAUD_DETECTOR=new InterfaceVpcEndpointAwsService("frauddetector"),InterfaceVpcEndpointAwsService.FSX=new InterfaceVpcEndpointAwsService("fsx"),InterfaceVpcEndpointAwsService.FSX_FIPS=new InterfaceVpcEndpointAwsService("fsx-fips"),InterfaceVpcEndpointAwsService.CODECOMMIT_GIT=new InterfaceVpcEndpointAwsService("git-codecommit"),InterfaceVpcEndpointAwsService.CODECOMMIT_GIT_FIPS=new InterfaceVpcEndpointAwsService("git-codecommit-fips"),InterfaceVpcEndpointAwsService.GLUE=new InterfaceVpcEndpointAwsService("glue"),InterfaceVpcEndpointAwsService.GLUE_DATABREW=new InterfaceVpcEndpointAwsService("databrew"),InterfaceVpcEndpointAwsService.GLUE_DASHBOARD=new InterfaceVpcEndpointAwsService("glue.dashboard"),InterfaceVpcEndpointAwsService.GRAFANA=new InterfaceVpcEndpointAwsService("grafana"),InterfaceVpcEndpointAwsService.GRAFANA_WORKSPACE=new InterfaceVpcEndpointAwsService("grafana-workspace"),InterfaceVpcEndpointAwsService.GROUNDSTATION=new InterfaceVpcEndpointAwsService("groundstation"),InterfaceVpcEndpointAwsService.GUARDDUTY=new InterfaceVpcEndpointAwsService("guardduty"),InterfaceVpcEndpointAwsService.GUARDDUTY_FIPS=new InterfaceVpcEndpointAwsService("guardduty-fips"),InterfaceVpcEndpointAwsService.GUARDDUTY_DATA=new InterfaceVpcEndpointAwsService("guardduty-data"),InterfaceVpcEndpointAwsService.GUARDDUTY_DATA_FIPS=new InterfaceVpcEndpointAwsService("guardduty-data-fips"),InterfaceVpcEndpointAwsService.HEALTH_IMAGING=new InterfaceVpcEndpointAwsService("medical-imaging"),InterfaceVpcEndpointAwsService.HEALTH_IMAGING_RUNTIME=new InterfaceVpcEndpointAwsService("runtime-medical-imaging"),InterfaceVpcEndpointAwsService.HEALTH_IMAGING_DICOM=new InterfaceVpcEndpointAwsService("dicom-medical-imaging"),InterfaceVpcEndpointAwsService.HEALTHLAKE=new InterfaceVpcEndpointAwsService("healthlake"),InterfaceVpcEndpointAwsService.IAM=new InterfaceVpcEndpointAwsService("iam","com.amazonaws",void 0,{global:!0}),InterfaceVpcEndpointAwsService.IAM_IDENTITY_CENTER=new InterfaceVpcEndpointAwsService("identitystore"),InterfaceVpcEndpointAwsService.IAM_ROLES_ANYWHERE=new InterfaceVpcEndpointAwsService("rolesanywhere"),InterfaceVpcEndpointAwsService.IMAGE_BUILDER=new InterfaceVpcEndpointAwsService("imagebuilder"),InterfaceVpcEndpointAwsService.INSPECTOR=new InterfaceVpcEndpointAwsService("inspector2"),InterfaceVpcEndpointAwsService.INSPECTOR_SCAN=new InterfaceVpcEndpointAwsService("inspector-scan"),InterfaceVpcEndpointAwsService.INTERNET_MONITOR=new InterfaceVpcEndpointAwsService("internetmonitor"),InterfaceVpcEndpointAwsService.INTERNET_MONITOR_FIPS=new InterfaceVpcEndpointAwsService("internetmonitor-fips"),InterfaceVpcEndpointAwsService.INVOICING=new InterfaceVpcEndpointAwsService("invoicing"),InterfaceVpcEndpointAwsService.IOT_CORE=new InterfaceVpcEndpointAwsService("iot.data"),InterfaceVpcEndpointAwsService.IOT_CORE_CREDENTIALS=new InterfaceVpcEndpointAwsService("iot.credentials"),InterfaceVpcEndpointAwsService.IOT_CORE_DEVICE_ADVISOR=new InterfaceVpcEndpointAwsService("deviceadvisor.iot"),InterfaceVpcEndpointAwsService.IOT_CORE_FLEETHUB_API=new InterfaceVpcEndpointAwsService("iot.fleethub.api"),InterfaceVpcEndpointAwsService.IOT_CORE_FOR_LORAWAN=new InterfaceVpcEndpointAwsService("iotwireless.api"),InterfaceVpcEndpointAwsService.IOT_FLEETWISE=new InterfaceVpcEndpointAwsService("iotfleetwise"),InterfaceVpcEndpointAwsService.IOT_LORAWAN_CUPS=new InterfaceVpcEndpointAwsService("lorawan.cups"),InterfaceVpcEndpointAwsService.IOT_LORAWAN_LNS=new InterfaceVpcEndpointAwsService("lorawan.lns"),InterfaceVpcEndpointAwsService.IOT_GREENGRASS=new InterfaceVpcEndpointAwsService("greengrass"),InterfaceVpcEndpointAwsService.IOT_ROBORUNNER=new InterfaceVpcEndpointAwsService("iotroborunner"),InterfaceVpcEndpointAwsService.IOT_SITEWISE_API=new InterfaceVpcEndpointAwsService("iotsitewise.api"),InterfaceVpcEndpointAwsService.IOT_SITEWISE_DATA=new InterfaceVpcEndpointAwsService("iotsitewise.data"),InterfaceVpcEndpointAwsService.IOT_TWINMAKER_API=new InterfaceVpcEndpointAwsService("iottwinmaker.api"),InterfaceVpcEndpointAwsService.IOT_TWINMAKER_DATA=new InterfaceVpcEndpointAwsService("iottwinmaker.data"),InterfaceVpcEndpointAwsService.KAFKA=new InterfaceVpcEndpointAwsService("kafka"),InterfaceVpcEndpointAwsService.KAFKA_CONNECT=new InterfaceVpcEndpointAwsService("kafkaconnect"),InterfaceVpcEndpointAwsService.KAFKA_FIPS=new InterfaceVpcEndpointAwsService("kafka-fips"),InterfaceVpcEndpointAwsService.KENDRA=new InterfaceVpcEndpointAwsService("kendra"),InterfaceVpcEndpointAwsService.KENDRA_RANKING=new InterfaceVpcEndpointAwsService("kendra-ranking","aws.api"),InterfaceVpcEndpointAwsService.KEYSPACES=new InterfaceVpcEndpointAwsService("cassandra","",9142),InterfaceVpcEndpointAwsService.KEYSPACES_FIPS=new InterfaceVpcEndpointAwsService("cassandra-fips","",9142),InterfaceVpcEndpointAwsService.KINESIS_STREAMS=new InterfaceVpcEndpointAwsService("kinesis-streams"),InterfaceVpcEndpointAwsService.KINESIS_STREAMS_FIPS=new InterfaceVpcEndpointAwsService("kinesis-streams-fips"),InterfaceVpcEndpointAwsService.KINESIS_FIREHOSE=new InterfaceVpcEndpointAwsService("kinesis-firehose"),InterfaceVpcEndpointAwsService.KMS=new InterfaceVpcEndpointAwsService("kms"),InterfaceVpcEndpointAwsService.KMS_FIPS=new InterfaceVpcEndpointAwsService("kms-fips"),InterfaceVpcEndpointAwsService.LAKE_FORMATION=new InterfaceVpcEndpointAwsService("lakeformation"),InterfaceVpcEndpointAwsService.LAUNCH_WIZARD=new InterfaceVpcEndpointAwsService("launchwizard"),InterfaceVpcEndpointAwsService.LAMBDA=new InterfaceVpcEndpointAwsService("lambda"),InterfaceVpcEndpointAwsService.LEX_MODELS=new InterfaceVpcEndpointAwsService("models-v2-lex"),InterfaceVpcEndpointAwsService.LEX_RUNTIME=new InterfaceVpcEndpointAwsService("runtime-v2-lex"),InterfaceVpcEndpointAwsService.LICENSE_MANAGER=new InterfaceVpcEndpointAwsService("license-manager"),InterfaceVpcEndpointAwsService.LICENSE_MANAGER_FIPS=new InterfaceVpcEndpointAwsService("license-manager-fips"),InterfaceVpcEndpointAwsService.LICENSE_MANAGER_LINUX_SUBSCRIPTIONS=new InterfaceVpcEndpointAwsService("license-manager-linux-subscriptions"),InterfaceVpcEndpointAwsService.LICENSE_MANAGER_LINUX_SUBSCRIPTIONS_FIPS=new InterfaceVpcEndpointAwsService("license-manager-linux-subscriptions-fips"),InterfaceVpcEndpointAwsService.LICENSE_MANAGER_USER_SUBSCRIPTIONS=new InterfaceVpcEndpointAwsService("license-manager-user-subscriptions"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_GEOFENCING=new InterfaceVpcEndpointAwsService("geo.geofencing"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_MAPS=new InterfaceVpcEndpointAwsService("geo.maps"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_METADATA=new InterfaceVpcEndpointAwsService("geo.metadata"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_PLACES=new InterfaceVpcEndpointAwsService("geo.places"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_ROUTE=new InterfaceVpcEndpointAwsService("geo.routes"),InterfaceVpcEndpointAwsService.LOCATION_SERVICE_TRACKING=new InterfaceVpcEndpointAwsService("geo.tracking"),InterfaceVpcEndpointAwsService.LOOKOUT_EQUIPMENT=new InterfaceVpcEndpointAwsService("lookoutequipment"),InterfaceVpcEndpointAwsService.LOOKOUT_METRICS=new InterfaceVpcEndpointAwsService("lookoutmetrics"),InterfaceVpcEndpointAwsService.LOOKOUT_VISION=new InterfaceVpcEndpointAwsService("lookoutvision"),InterfaceVpcEndpointAwsService.MAILMANAGER=new InterfaceVpcEndpointAwsService("mail-manager"),InterfaceVpcEndpointAwsService.MAILMANAGER_FIPS=new InterfaceVpcEndpointAwsService("mail-manager-fips"),InterfaceVpcEndpointAwsService.MAINFRAME_MODERNIZATION=new InterfaceVpcEndpointAwsService("m2"),InterfaceVpcEndpointAwsService.MAINFRAME_MODERNIZATION_APP_TEST=new InterfaceVpcEndpointAwsService("apptest"),InterfaceVpcEndpointAwsService.MACIE=new InterfaceVpcEndpointAwsService("macie2"),InterfaceVpcEndpointAwsService.MANAGEMENT_CONSOLE=new InterfaceVpcEndpointAwsService("console"),InterfaceVpcEndpointAwsService.MANAGEMENT_CONSOLE_SIGNIN=new InterfaceVpcEndpointAwsService("signin"),InterfaceVpcEndpointAwsService.MANAGED_BLOCKCHAIN_QUERY=new InterfaceVpcEndpointAwsService("managedblockchain-query"),InterfaceVpcEndpointAwsService.MANAGED_BLOCKCHAIN_BITCOIN_MAINNET=new InterfaceVpcEndpointAwsService("managedblockchain.bitcoin.mainnet"),InterfaceVpcEndpointAwsService.MANAGED_BLOCKCHAIN_BITCOIN_TESTNET=new InterfaceVpcEndpointAwsService("managedblockchain.bitcoin.testnet"),InterfaceVpcEndpointAwsService.MEMORY_DB=new InterfaceVpcEndpointAwsService("memory-db"),InterfaceVpcEndpointAwsService.MEMORY_DB_FIPS=new InterfaceVpcEndpointAwsService("memorydb-fips"),InterfaceVpcEndpointAwsService.MIGRATIONHUB_ORCHESTRATOR=new InterfaceVpcEndpointAwsService("migrationhub-orchestrator"),InterfaceVpcEndpointAwsService.MIGRATIONHUB_REFACTOR_SPACES=new InterfaceVpcEndpointAwsService("refactor-spaces"),InterfaceVpcEndpointAwsService.MIGRATIONHUB_STRATEGY=new InterfaceVpcEndpointAwsService("migrationhub-strategy"),InterfaceVpcEndpointAwsService.MQ=new InterfaceVpcEndpointAwsService("mq"),InterfaceVpcEndpointAwsService.NEPTUNE_ANALYTICS=new InterfaceVpcEndpointAwsService("neptune-graph"),InterfaceVpcEndpointAwsService.NEPTUNE_ANALYTICS_DATA=new InterfaceVpcEndpointAwsService("neptune-graph-data"),InterfaceVpcEndpointAwsService.NEPTUNE_ANALYTICS_FIPS=new InterfaceVpcEndpointAwsService("neptune-graph-fips"),InterfaceVpcEndpointAwsService.NETWORK_FIREWALL=new InterfaceVpcEndpointAwsService("network-firewall"),InterfaceVpcEndpointAwsService.NETWORK_FIREWALL_FIPS=new InterfaceVpcEndpointAwsService("network-firewall-fips"),InterfaceVpcEndpointAwsService.NETWORK_FLOW_MONITOR=new InterfaceVpcEndpointAwsService("networkflowmonitor"),InterfaceVpcEndpointAwsService.NETWORK_FLOW_MONITOR_REPORTS=new InterfaceVpcEndpointAwsService("networkflowmonitorreports"),InterfaceVpcEndpointAwsService.NIMBLE_STUDIO=new InterfaceVpcEndpointAwsService("nimble"),InterfaceVpcEndpointAwsService.OBSERVABILITY_ADMIN=new InterfaceVpcEndpointAwsService("observabilityadmin"),InterfaceVpcEndpointAwsService.OUTPOSTS=new InterfaceVpcEndpointAwsService("outposts"),InterfaceVpcEndpointAwsService.ORGANIZATIONS=new InterfaceVpcEndpointAwsService("organizations"),InterfaceVpcEndpointAwsService.ORGANIZATIONS_FIPS=new InterfaceVpcEndpointAwsService("organizations-fips"),InterfaceVpcEndpointAwsService.OMICS_ANALYTICS=new InterfaceVpcEndpointAwsService("analytics-omics"),InterfaceVpcEndpointAwsService.OMICS_CONTROL_STORAGE=new InterfaceVpcEndpointAwsService("control-storage-omics"),InterfaceVpcEndpointAwsService.OMICS_STORAGE=new InterfaceVpcEndpointAwsService("storage-omics"),InterfaceVpcEndpointAwsService.OMICS_TAGS=new InterfaceVpcEndpointAwsService("tags-omics"),InterfaceVpcEndpointAwsService.OMICS_WORKFLOWS=new InterfaceVpcEndpointAwsService("workflows-omics"),InterfaceVpcEndpointAwsService.PANORAMA=new InterfaceVpcEndpointAwsService("panorama"),InterfaceVpcEndpointAwsService.PARALLEL_COMPUTING_SERVICE=new InterfaceVpcEndpointAwsService("pcs"),InterfaceVpcEndpointAwsService.PARALLEL_COMPUTING_SERVICE_FIPS=new InterfaceVpcEndpointAwsService("pcs-fips"),InterfaceVpcEndpointAwsService.PAYMENT_CRYPTOGRAPHY_CONTROLPLANE=new InterfaceVpcEndpointAwsService("payment-cryptography.controlplane"),InterfaceVpcEndpointAwsService.PAYMENT_CRYTOGRAPHY_DATAPLANE=new InterfaceVpcEndpointAwsService("payment-cryptography.dataplane"),InterfaceVpcEndpointAwsService.PAYMENT_CRYPTOGRAPHY_DATAPLANE=new InterfaceVpcEndpointAwsService("payment-cryptography.dataplane"),InterfaceVpcEndpointAwsService.PERSONALIZE=new InterfaceVpcEndpointAwsService("personalize"),InterfaceVpcEndpointAwsService.PERSONALIZE_EVENTS=new InterfaceVpcEndpointAwsService("personalize-events"),InterfaceVpcEndpointAwsService.PERSONALIZE_RUNTIME=new InterfaceVpcEndpointAwsService("personalize-runtime"),InterfaceVpcEndpointAwsService.PINPOINT_V1=new InterfaceVpcEndpointAwsService("pinpoint"),InterfaceVpcEndpointAwsService.PINPOINT=new InterfaceVpcEndpointAwsService("pinpoint-sms-voice-v2"),InterfaceVpcEndpointAwsService.PINPOINT_SMS_VOICE_V2=new InterfaceVpcEndpointAwsService("pinpoint-sms-voice-v2"),InterfaceVpcEndpointAwsService.PIPES=new InterfaceVpcEndpointAwsService("pipes"),InterfaceVpcEndpointAwsService.PIPES_DATA=new InterfaceVpcEndpointAwsService("pipes-data"),InterfaceVpcEndpointAwsService.PIPES_FIPS=new InterfaceVpcEndpointAwsService("pipes-fips"),InterfaceVpcEndpointAwsService.PRICE_LIST=new InterfaceVpcEndpointAwsService("pricing.api"),InterfaceVpcEndpointAwsService.PRICING_CALCULATOR=new InterfaceVpcEndpointAwsService("bcm-pricing-calculator"),InterfaceVpcEndpointAwsService.POLLY=new InterfaceVpcEndpointAwsService("polly"),InterfaceVpcEndpointAwsService.PRIVATE_5G=new InterfaceVpcEndpointAwsService("private-networks"),InterfaceVpcEndpointAwsService.PRIVATE_CERTIFICATE_AUTHORITY=new InterfaceVpcEndpointAwsService("acm-pca"),InterfaceVpcEndpointAwsService.PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD=new InterfaceVpcEndpointAwsService("pca-connector-ad"),InterfaceVpcEndpointAwsService.PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP=new InterfaceVpcEndpointAwsService("pca-connector-scep"),InterfaceVpcEndpointAwsService.PROMETHEUS=new InterfaceVpcEndpointAwsService("aps"),InterfaceVpcEndpointAwsService.PROMETHEUS_WORKSPACES=new InterfaceVpcEndpointAwsService("aps-workspaces"),InterfaceVpcEndpointAwsService.PROTON=new InterfaceVpcEndpointAwsService("proton"),InterfaceVpcEndpointAwsService.Q_BUSSINESS=new InterfaceVpcEndpointAwsService("qbusiness","aws.api"),InterfaceVpcEndpointAwsService.Q_DEVELOPER=new InterfaceVpcEndpointAwsService("q"),InterfaceVpcEndpointAwsService.Q_DEVELOPER_CODE_WHISPERER=new InterfaceVpcEndpointAwsService("codewhisperer"),InterfaceVpcEndpointAwsService.Q_DEVELOPER_QAPPS=new InterfaceVpcEndpointAwsService("qapps"),InterfaceVpcEndpointAwsService.Q_USER_SUBSCRIPTIONS=new InterfaceVpcEndpointAwsService("service.user-subscriptions"),InterfaceVpcEndpointAwsService.QLDB=new InterfaceVpcEndpointAwsService("qldb.session"),InterfaceVpcEndpointAwsService.QUICKSIGHT_WEBSITE=new InterfaceVpcEndpointAwsService("quicksight-website"),InterfaceVpcEndpointAwsService.RDS=new InterfaceVpcEndpointAwsService("rds"),InterfaceVpcEndpointAwsService.RDS_DATA=new InterfaceVpcEndpointAwsService("rds-data"),InterfaceVpcEndpointAwsService.RDS_PERFORMANCE_INSIGHTS=new InterfaceVpcEndpointAwsService("pi"),InterfaceVpcEndpointAwsService.RDS_PERFORMANCE_INSIGHTS_FIPS=new InterfaceVpcEndpointAwsService("pi-fips"),InterfaceVpcEndpointAwsService.REDSHIFT=new InterfaceVpcEndpointAwsService("redshift"),InterfaceVpcEndpointAwsService.REDSHIFT_FIPS=new InterfaceVpcEndpointAwsService("redshift-fips"),InterfaceVpcEndpointAwsService.REDSHIFT_DATA=new InterfaceVpcEndpointAwsService("redshift-data"),InterfaceVpcEndpointAwsService.REDSHIFT_DATA_FIPS=new InterfaceVpcEndpointAwsService("redshift-data-fips"),InterfaceVpcEndpointAwsService.REDSHIFT_SERVERLESS=new InterfaceVpcEndpointAwsService("redshift-serverless"),InterfaceVpcEndpointAwsService.REDSHIFT_SERVERLESS_FIPS=new InterfaceVpcEndpointAwsService("redshift-serverless-fips"),InterfaceVpcEndpointAwsService.REKOGNITION=new InterfaceVpcEndpointAwsService("rekognition"),InterfaceVpcEndpointAwsService.REKOGNITION_FIPS=new InterfaceVpcEndpointAwsService("rekognition-fips"),InterfaceVpcEndpointAwsService.REKOGNITION_STREAMING=new InterfaceVpcEndpointAwsService("streaming-rekognition"),InterfaceVpcEndpointAwsService.REKOGNITION_STREAMING_FIPS=new InterfaceVpcEndpointAwsService("streaming-rekognition-fips"),InterfaceVpcEndpointAwsService.REPOST_SPACE=new InterfaceVpcEndpointAwsService("repostspace"),InterfaceVpcEndpointAwsService.RESOURCE_ACCESS_MANAGER=new InterfaceVpcEndpointAwsService("ram"),InterfaceVpcEndpointAwsService.RESOURCE_GROUPS=new InterfaceVpcEndpointAwsService("resource-groups"),InterfaceVpcEndpointAwsService.RESOURCE_GROUPS_FIPS=new InterfaceVpcEndpointAwsService("resource-groups-fips"),InterfaceVpcEndpointAwsService.ROBOMAKER=new InterfaceVpcEndpointAwsService("robomaker"),InterfaceVpcEndpointAwsService.RECYCLE_BIN=new InterfaceVpcEndpointAwsService("rbin"),InterfaceVpcEndpointAwsService.S3=new InterfaceVpcEndpointAwsService("s3"),InterfaceVpcEndpointAwsService.S3_OUTPOSTS=new InterfaceVpcEndpointAwsService("s3-outposts"),InterfaceVpcEndpointAwsService.S3_MULTI_REGION_ACCESS_POINTS=new InterfaceVpcEndpointAwsService("s3-global.accesspoint","com.amazonaws",void 0,{global:!0}),InterfaceVpcEndpointAwsService.S3_TABLES=new InterfaceVpcEndpointAwsService("s3tables"),InterfaceVpcEndpointAwsService.SAVINGS_PLANS=new InterfaceVpcEndpointAwsService("savingsplans","com.amazonaws",void 0,{global:!0}),InterfaceVpcEndpointAwsService.SAGEMAKER_API=new InterfaceVpcEndpointAwsService("sagemaker.api"),InterfaceVpcEndpointAwsService.SAGEMAKER_API_FIPS=new InterfaceVpcEndpointAwsService("sagemaker.api-fips"),InterfaceVpcEndpointAwsService.SAGEMAKER_DATA_SCIENCE_ASSISTANT=new InterfaceVpcEndpointAwsService("sagemaker-data-science-assistant"),InterfaceVpcEndpointAwsService.SAGEMAKER_EXPERIMENTS=new InterfaceVpcEndpointAwsService("experiments","aws.sagemaker"),InterfaceVpcEndpointAwsService.SAGEMAKER_FEATURESTORE_RUNTIME=new InterfaceVpcEndpointAwsService("sagemaker.featurestore-runtime"),InterfaceVpcEndpointAwsService.SAGEMAKER_GEOSPATIAL=new InterfaceVpcEndpointAwsService("sagemaker-geospatial"),InterfaceVpcEndpointAwsService.SAGEMAKER_METRICS=new InterfaceVpcEndpointAwsService("sagemaker.metrics"),InterfaceVpcEndpointAwsService.SAGEMAKER_NOTEBOOK=new InterfaceVpcEndpointAwsService("notebook","aws.sagemaker"),InterfaceVpcEndpointAwsService.SAGEMAKER_PARTNER_APP=new InterfaceVpcEndpointAwsService("partner-app","aws.sagemaker"),InterfaceVpcEndpointAwsService.SAGEMAKER_RUNTIME=new InterfaceVpcEndpointAwsService("sagemaker.runtime"),InterfaceVpcEndpointAwsService.SAGEMAKER_RUNTIME_FIPS=new InterfaceVpcEndpointAwsService("sagemaker.runtime-fips"),InterfaceVpcEndpointAwsService.SAGEMAKER_STUDIO=new InterfaceVpcEndpointAwsService("studio","aws.sagemaker"),InterfaceVpcEndpointAwsService.SECRETS_MANAGER=new InterfaceVpcEndpointAwsService("secretsmanager"),InterfaceVpcEndpointAwsService.SECURITYHUB=new InterfaceVpcEndpointAwsService("securityhub"),InterfaceVpcEndpointAwsService.SECURITYLAKE=new InterfaceVpcEndpointAwsService("securitylake"),InterfaceVpcEndpointAwsService.SECURITYLAKE_FIPS=new InterfaceVpcEndpointAwsService("securitylake-fips"),InterfaceVpcEndpointAwsService.SERVICE_CATALOG=new InterfaceVpcEndpointAwsService("servicecatalog"),InterfaceVpcEndpointAwsService.SERVICE_CATALOG_APPREGISTRY=new InterfaceVpcEndpointAwsService("servicecatalog-appregistry"),InterfaceVpcEndpointAwsService.SERVER_MIGRATION_SERVICE=new InterfaceVpcEndpointAwsService("sms"),InterfaceVpcEndpointAwsService.SERVER_MIGRATION_SERVICE_FIPS=new InterfaceVpcEndpointAwsService("sms-fips"),InterfaceVpcEndpointAwsService.SERVER_MIGRATION_SERVICE_AWSCONNECTOR=new InterfaceVpcEndpointAwsService("awsconnector"),InterfaceVpcEndpointAwsService.SERVERLESS_APPLICATION_REPOSITORY=new InterfaceVpcEndpointAwsService("serverlessrepo"),InterfaceVpcEndpointAwsService.SES=new InterfaceVpcEndpointAwsService("email-smtp"),InterfaceVpcEndpointAwsService.SHIELD=new InterfaceVpcEndpointAwsService("shield"),InterfaceVpcEndpointAwsService.SHIELD_FIPS=new InterfaceVpcEndpointAwsService("shield-fips"),InterfaceVpcEndpointAwsService.SIMSPACE_WEAVER=new InterfaceVpcEndpointAwsService("simspaceweaver"),InterfaceVpcEndpointAwsService.SNOW_DEVICE_MANAGEMENT=new InterfaceVpcEndpointAwsService("snow-device-management"),InterfaceVpcEndpointAwsService.SNS=new InterfaceVpcEndpointAwsService("sns"),InterfaceVpcEndpointAwsService.SQS=new InterfaceVpcEndpointAwsService("sqs"),InterfaceVpcEndpointAwsService.SQS_FIPS=new InterfaceVpcEndpointAwsService("sqs-fips"),InterfaceVpcEndpointAwsService.SSM=new InterfaceVpcEndpointAwsService("ssm"),InterfaceVpcEndpointAwsService.SSM_FIPS=new InterfaceVpcEndpointAwsService("ssm-fips"),InterfaceVpcEndpointAwsService.SSM_MESSAGES=new InterfaceVpcEndpointAwsService("ssmmessages"),InterfaceVpcEndpointAwsService.SSM_CONTACTS=new InterfaceVpcEndpointAwsService("ssm-contacts"),InterfaceVpcEndpointAwsService.SSM_INCIDENTS=new InterfaceVpcEndpointAwsService("ssm-incidents"),InterfaceVpcEndpointAwsService.SSM_QUICK_SETUP=new InterfaceVpcEndpointAwsService("ssm-quicksetup"),InterfaceVpcEndpointAwsService.STEP_FUNCTIONS=new InterfaceVpcEndpointAwsService("states"),InterfaceVpcEndpointAwsService.STEP_FUNCTIONS_SYNC=new InterfaceVpcEndpointAwsService("sync-states"),InterfaceVpcEndpointAwsService.STORAGE_GATEWAY=new InterfaceVpcEndpointAwsService("storagegateway"),InterfaceVpcEndpointAwsService.STS=new InterfaceVpcEndpointAwsService("sts"),InterfaceVpcEndpointAwsService.STS_FIPS=new InterfaceVpcEndpointAwsService("sts-fips"),InterfaceVpcEndpointAwsService.SUPPLY_CHAIN=new InterfaceVpcEndpointAwsService("scn"),InterfaceVpcEndpointAwsService.SWF=new InterfaceVpcEndpointAwsService("swf"),InterfaceVpcEndpointAwsService.SWF_FIPS=new InterfaceVpcEndpointAwsService("swf-fips"),InterfaceVpcEndpointAwsService.TAGGING=new InterfaceVpcEndpointAwsService("tagging"),InterfaceVpcEndpointAwsService.TELCO_NETWORK_BUILDER=new InterfaceVpcEndpointAwsService("tnb"),InterfaceVpcEndpointAwsService.TEXTRACT=new InterfaceVpcEndpointAwsService("textract"),InterfaceVpcEndpointAwsService.TEXTRACT_FIPS=new InterfaceVpcEndpointAwsService("textract-fips"),InterfaceVpcEndpointAwsService.TIMESTREAM_INFLUXDB=new InterfaceVpcEndpointAwsService("timestream-influxdb"),InterfaceVpcEndpointAwsService.TIMESTREAM_INFLUXDB_FIPS=new InterfaceVpcEndpointAwsService("timestream-influxdb-fips"),InterfaceVpcEndpointAwsService.TRANSCRIBE=new InterfaceVpcEndpointAwsService("transcribe"),InterfaceVpcEndpointAwsService.TRANSCRIBE_STREAMING=new InterfaceVpcEndpointAwsService("transcribestreaming"),InterfaceVpcEndpointAwsService.TRANSFER=new InterfaceVpcEndpointAwsService("transfer"),InterfaceVpcEndpointAwsService.TRANSFER_SERVER=new InterfaceVpcEndpointAwsService("transfer.server"),InterfaceVpcEndpointAwsService.TRANSLATE=new InterfaceVpcEndpointAwsService("translate"),InterfaceVpcEndpointAwsService.TRUSTED_ADVISOR=new InterfaceVpcEndpointAwsService("trustedadvisor"),InterfaceVpcEndpointAwsService.WAFV2=new InterfaceVpcEndpointAwsService("wafv2"),InterfaceVpcEndpointAwsService.WAFV2_FIPS=new InterfaceVpcEndpointAwsService("wafv2-fips"),InterfaceVpcEndpointAwsService.WELL_ARCHITECTED_TOOL=new InterfaceVpcEndpointAwsService("wellarchitected"),InterfaceVpcEndpointAwsService.WORKMAIL=new InterfaceVpcEndpointAwsService("workmail"),InterfaceVpcEndpointAwsService.WORKSPACES=new InterfaceVpcEndpointAwsService("workspaces"),InterfaceVpcEndpointAwsService.WORKSPACES_THIN_CLIENT=new InterfaceVpcEndpointAwsService("thinclient.api"),InterfaceVpcEndpointAwsService.WORKSPACES_WEB=new InterfaceVpcEndpointAwsService("workspaces-web"),InterfaceVpcEndpointAwsService.WORKSPACES_WEB_FIPS=new InterfaceVpcEndpointAwsService("workspaces-web-fips"),InterfaceVpcEndpointAwsService.XRAY=new InterfaceVpcEndpointAwsService("xray"),InterfaceVpcEndpointAwsService.VERIFIED_PERMISSIONS=new InterfaceVpcEndpointAwsService("verifiedpermissions"),InterfaceVpcEndpointAwsService.VPC_LATTICE=new InterfaceVpcEndpointAwsService("vpc-lattice");let InterfaceVpcEndpoint=class InterfaceVpcEndpoint2 extends VpcEndpoint{static fromInterfaceVpcEndpointAttributes(scope,id,attrs){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ec2_InterfaceVpcEndpointAttributes(attrs)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.fromInterfaceVpcEndpointAttributes),error}const securityGroups=attrs.securityGroupId?[security_group_1().SecurityGroup.fromSecurityGroupId(scope,"SecurityGroup",attrs.securityGroupId)]:attrs.securityGroups;class Import extends core_1().Resource{constructor(){super(...arguments),this.vpcEndpointId=attrs.vpcEndpointId,this.connections=new(connections_1()).Connections({defaultPort:port_1().Port.tcp(attrs.port),securityGroups})}}return new Import(scope,id)}constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_aws_ec2_InterfaceVpcEndpointProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,InterfaceVpcEndpoint2),error}(0,metadata_resource_1().addConstructMetadata)(this,props);const securityGroups=props.securityGroups||[new(security_group_1()).SecurityGroup(this,"SecurityGroup",{vpc:props.vpc})];this.securityGroupId=securityGroups[0].securityGroupId,this.connections=new(connections_1()).Connections({defaultPort:port_1().Port.tcp(props.service.port),securityGroups}),props.open!==!1&&this.connections.allowDefaultPortFrom(peer_1().Peer.ipv4(props.vpc.vpcCidrBlock));const subnetIds=this.endpointSubnets(props),dnsOptions=props.dnsRecordIpType===void 0&&props.privateDnsOnlyForInboundResolverEndpoint===void 0?void 0:{dnsRecordIpType:props.dnsRecordIpType,privateDnsOnlyForInboundResolverEndpoint:props.privateDnsOnlyForInboundResolverEndpoint},endpoint=new(ec2_generated_1()).CfnVPCEndpoint(this,"Resourc