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.98.0 (build 00b106d)", date="2024-05-08T21:35:06.128Z") @Stability(Stable) public interface IKeyPair extends software.amazon.jsii.JsiiSerializable, IResource
An EC2 Key Pair.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IKeyPair.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the key pair.
    default KeyPairType
    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

      @Stability(Stable) @NotNull String getKeyPairName()
      The name of the key pair.
    • getType

      @Stability(Stable) @Nullable default KeyPairType getType()
      The type of the key pair.