Interface IKeyPair
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IKeyPairRef,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IKeyPair.Jsii$Default
- All Known Implementing Classes:
IKeyPair.Jsii$Proxy,KeyPair
@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)",
date="2026-02-09T14:39:09.809Z")
@Stability(Stable)
public interface IKeyPair
extends software.amazon.jsii.JsiiSerializable, IResource, IKeyPairRef
An EC2 Key Pair.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIKeyPair.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the key pair.default KeyPairTypegetType()The type of the key pair.Methods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.ec2.IKeyPairRef
getKeyPairRefMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyPairName
The name of the key pair. -
getType
The type of the key pair.
-