Skip to content

Commit 7f2ed96

Browse files
authored
chore(ec2): fix an incorrect import of ValidationError (#33897)
### Reason for this change I'd missed an incorrect import of `ValidationError` in #33619 ### 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 160da34 commit 7f2ed96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/aws-cdk-lib/aws-ec2/lib/prefix-list.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { Construct } from 'constructs';
2-
import { ValidationError } from 'jsonschema';
32
import { CfnPrefixList } from './ec2.generated';
43
import * as cxschema from '../../cloud-assembly-schema';
5-
import { IResource, Lazy, Resource, Names, ContextProvider, Token } from '../../core';
4+
import { IResource, Lazy, Resource, Names, ContextProvider, Token, ValidationError } from '../../core';
65
import { addConstructMetadata } from '../../core/lib/metadata-resource';
76

87
/**

0 commit comments

Comments
 (0)