Skip to content

Commit b41794d

Browse files
badmintoncryeriankhou
authored andcommitted
feat(ec2): add interface VPC endpoint for DSQL (#34487)
### Issue # (if applicable) None ### Reason for this change AWS supports interface VPC endpoint for DSQL but AWS CDK does not sopport this. ### Description of changes Add interface VPC endpoints - `DSQL` - `DSQL_FNH4` ### Describe any new or updated permissions being added None ### Description of how you validated changes ```sh $ aws ec2 describe-vpc-endpoint-services --filters "Name=service-name,Values=*dsql*" --region us-east-1 --query "ServiceNames[]" [ "com.amazonaws.us-east-1.dsql", "com.amazonaws.us-east-1.dsql-fnh4" ] ``` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 372198b commit b41794d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,12 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
478478
public static readonly DEVOPS_GURU = new InterfaceVpcEndpointAwsService('devops-guru');
479479
public static readonly DIRECTORY_SERVICE = new InterfaceVpcEndpointAwsService('ds');
480480
public static readonly DIRECTORY_SERVICE_DATA = new InterfaceVpcEndpointAwsService('ds-data');
481+
/**
482+
The management endpoint for DSQL.
483+
For the Connection endpoint, use `new InterfaceVpcEndpointService(cfnCluster.attrVpcEndpointServiceName)`.
484+
See https://docs.aws.amazon.com/aurora-dsql/latest/userguide/privatelink-managing-clusters.html#endpoint-types-dsql for details
485+
*/
486+
public static readonly DSQL_MANAGEMENT = new InterfaceVpcEndpointAwsService('dsql');
481487
public static readonly DYNAMODB = new InterfaceVpcEndpointAwsService('dynamodb');
482488
public static readonly DYNAMODB_FIPS = new InterfaceVpcEndpointAwsService('dynamodb-fips');
483489
public static readonly DYNAMODB_STREAMS = new InterfaceVpcEndpointAwsService('dynamodb-streams');

0 commit comments

Comments
 (0)