Interface KeyPairReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyPairReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:04.208Z")
@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.interfaces.lightsail.*;
KeyPairReference keyPairReference = KeyPairReference.builder()
.keyPairArn("keyPairArn")
.keyPairName("keyPairName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKeyPairReferencestatic final classAn implementation forKeyPairReference -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyPairReference.Builderbuilder()The ARN of the KeyPair resource.The KeyPairName of the KeyPair resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyPairArn
The ARN of the KeyPair resource. -
getKeyPairName
The KeyPairName of the KeyPair resource. -
builder
- Returns:
- a
KeyPairReference.BuilderofKeyPairReference
-