Skip to content

Commit 06e6b25

Browse files
authored
feat(ec2): add Interface VPC Endpoints for ACM and ACM-PCA (#35890)
### Issue # (if applicable) None ### Reason for this change AWS supports Interface VPC Endpoints for ACM and ACM-PCA. However, AWS CDK currently includes only acm-pca. This change adds missing support for the remaining endpoints: acm, acm-fips, and acm-pca-fips. ### Description of changes Added the following interface VPC endpoints to `InterfaceVpcEndpointAwsService` - `acm` - `acm-fips` - `acm-pca-fips` ### Describe any new or updated permissions being added None ### Description of how you validated changes Validated by executing the AWS CLI command ```bash $ aws ec2 describe-vpc-endpoint-services --filters "Name=service-name,Values=*acm*" --region us-east-1 --query "ServiceNames[]" [ "com.amazonaws.us-east-1.acm", "com.amazonaws.us-east-1.acm-fips", "com.amazonaws.us-east-1.acm-pca", "com.amazonaws.us-east-1.acm-pca-fips" ] ``` `acm-pca` was already supported prior to this change. ### 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 0da756d commit 06e6b25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,8 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
417417
public static readonly BILLING_AND_COST_MANAGEMENT_TAX = new InterfaceVpcEndpointAwsService('tax');
418418
public static readonly BILLING_CONDUCTOR = new InterfaceVpcEndpointAwsService('billingconductor');
419419
public static readonly BRAKET = new InterfaceVpcEndpointAwsService('braket');
420+
public static readonly CERTIFICATE_MANAGER = new InterfaceVpcEndpointAwsService('acm');
421+
public static readonly CERTIFICATE_MANAGER_FIPS = new InterfaceVpcEndpointAwsService('acm-fips');
420422
public static readonly CLEAN_ROOMS = new InterfaceVpcEndpointAwsService('cleanrooms');
421423
public static readonly CLEAN_ROOMS_ML = new InterfaceVpcEndpointAwsService('cleanrooms-ml');
422424
public static readonly CLOUD_CONTROL_API = new InterfaceVpcEndpointAwsService('cloudcontrolapi');
@@ -663,6 +665,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
663665
public static readonly POLLY = new InterfaceVpcEndpointAwsService('polly');
664666
public static readonly PRIVATE_5G = new InterfaceVpcEndpointAwsService('private-networks');
665667
public static readonly PRIVATE_CERTIFICATE_AUTHORITY = new InterfaceVpcEndpointAwsService('acm-pca');
668+
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_FIPS = new InterfaceVpcEndpointAwsService('acm-pca-fips');
666669
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD = new InterfaceVpcEndpointAwsService('pca-connector-ad');
667670
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP = new InterfaceVpcEndpointAwsService('pca-connector-scep');
668671
public static readonly PROMETHEUS = new InterfaceVpcEndpointAwsService('aps');

0 commit comments

Comments
 (0)