Interface KeyPairReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyPairReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:56.433Z")
@Stability(Stable)
public interface KeyPairReference
extends software.amazon.jsii.JsiiSerializable
A reference to a KeyPair resource.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; KeyPairReference keyPairReference = KeyPairReference.builder() .keyName("keyName") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forKeyPairReference
static final class
An implementation forKeyPairReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyPairReference.Builder
builder()
The KeyName of the KeyPair resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyName
The KeyName of the KeyPair resource. -
builder
- Returns:
- a
KeyPairReference.Builder
ofKeyPairReference
-