Skip to content

Commit

Permalink
chore(ec2): add new interface vpc endpoint (aws#31388)
Browse files Browse the repository at this point in the history
### Issue # (if applicable)

None

### Reason for this change

There are some missing interface VPC endpoints.
- com.amazonaws.iam
- com.amazonaws.region.pca-connector-scep
- network-firewall
- network-firewall-fips
- launchwizard

### Description of changes

Added these interface vpc endpoints at `vpc-endpoint.ts`.

### Description of how you validated changes

I called AWS CLI to describe all endpoints information.

```sh
aws ec2 describe-vpc-endpoint-services --filters Name=service-type,Values=Interface Name=owner,Values=amazon --region us-east-1 --query ServiceNames
```

### 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*
  • Loading branch information
badmintoncryer authored Sep 13, 2024
1 parent 358f231 commit 5c5be0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/aws-cdk-lib/aws-ec2/lib/vpc-endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly HEALTH_IMAGING_RUNTIME = new InterfaceVpcEndpointAwsService('runtime-medical-imaging');
public static readonly HEALTH_IMAGING_DICOM = new InterfaceVpcEndpointAwsService('dicom-medical-imaging');
public static readonly HEALTHLAKE = new InterfaceVpcEndpointAwsService('healthlake');
public static readonly IAM = new InterfaceVpcEndpointAwsService('iam', 'com.amazonaws', undefined, { global: true });
public static readonly IAM_IDENTITY_CENTER = new InterfaceVpcEndpointAwsService('identitystore');
public static readonly IAM_ROLES_ANYWHERE = new InterfaceVpcEndpointAwsService('rolesanywhere');
public static readonly IMAGE_BUILDER = new InterfaceVpcEndpointAwsService('imagebuilder');
Expand Down Expand Up @@ -455,6 +456,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly KMS = new InterfaceVpcEndpointAwsService('kms');
public static readonly KMS_FIPS = new InterfaceVpcEndpointAwsService('kms-fips');
public static readonly LAKE_FORMATION = new InterfaceVpcEndpointAwsService('lakeformation');
public static readonly LAUNCH_WIZARD = new InterfaceVpcEndpointAwsService('launchwizard');
public static readonly LAMBDA = new InterfaceVpcEndpointAwsService('lambda');
public static readonly LEX_MODELS = new InterfaceVpcEndpointAwsService('models-v2-lex');
public static readonly LEX_RUNTIME = new InterfaceVpcEndpointAwsService('runtime-v2-lex');
Expand All @@ -480,6 +482,8 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly MIGRATIONHUB_REFACTOR_SPACES = new InterfaceVpcEndpointAwsService('refactor-spaces');
public static readonly MIGRATIONHUB_STRATEGY = new InterfaceVpcEndpointAwsService('migrationhub-strategy');
public static readonly NEPTUNE_ANALYTICS = new InterfaceVpcEndpointAwsService('neptune-graph');
public static readonly NETWORK_FIREWALL = new InterfaceVpcEndpointAwsService('network-firewall');
public static readonly NETWORK_FIREWALL_FIPS = new InterfaceVpcEndpointAwsService('network-firewall-fips');
public static readonly NIMBLE_STUDIO = new InterfaceVpcEndpointAwsService('nimble');
public static readonly OUTPOSTS = new InterfaceVpcEndpointAwsService('outposts');
public static readonly ORGANIZATIONS = new InterfaceVpcEndpointAwsService('organizations');
Expand Down Expand Up @@ -508,6 +512,7 @@ export class InterfaceVpcEndpointAwsService implements IInterfaceVpcEndpointServ
public static readonly PRIVATE_5G = new InterfaceVpcEndpointAwsService('private-networks');
public static readonly PRIVATE_CERTIFICATE_AUTHORITY = new InterfaceVpcEndpointAwsService('acm-pca');
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_AD = new InterfaceVpcEndpointAwsService('pca-connector-ad');
public static readonly PRIVATE_CERTIFICATE_AUTHORITY_CONNECTOR_SCEP = new InterfaceVpcEndpointAwsService('pca-connector-scep');
public static readonly PROMETHEUS = new InterfaceVpcEndpointAwsService('aps');
public static readonly PROMETHEUS_WORKSPACES = new InterfaceVpcEndpointAwsService('aps-workspaces');
public static readonly PROTON = new InterfaceVpcEndpointAwsService('proton');
Expand Down

0 comments on commit 5c5be0c

Please sign in to comment.