aws-ec2: Missing CfnKeyPair #26306
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I am trying to make use of aws-cdk-lib/aws-ec2 CfnKeyPair, documented here… but I consistently get a “no exported member named ‘CfnKeyPair’” error, and looking at the source code from the latest release, it doesn’t seem to exist there. Am I missing something?
Expected Behavior
I expected to be able to make use of the CfnKeyPair construct to create EC2 Key Pairs
Current Behavior
I get an error stating "no exported member named CfnKeyPair"
Reproduction Steps
import {CfnKeyPair} from 'aws-cdk-lib/aws-ec2'
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
Framework Version
No response
Node.js Version
18.x
OS
Linux
Language
Typescript
Language Version
~4.7.4
Other information
No response
The text was updated successfully, but these errors were encountered: