Interface IKeyPair
- All Superinterfaces:
software.constructs.IConstruct
,software.constructs.IDependable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IKeyPair.Jsii$Default
- All Known Implementing Classes:
IKeyPair.Jsii$Proxy
,KeyPair
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-05T22:42:03.045Z")
@Stability(Stable)
public interface IKeyPair
extends software.amazon.jsii.JsiiSerializable, IResource
An EC2 Key Pair.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIKeyPair
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe name of the key pair.default KeyPairType
getType()
The type of the key pair.Methods inherited from interface software.constructs.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getEnv, getStack
Methods 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.
-