Interface KeyPairAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
KeyPairAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:03.489Z")
@Stability(Stable)
public interface KeyPairAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes of a Key Pair.
Example:
IKeyPair keyPair = KeyPair.fromKeyPairAttributes(this, "KeyPair", KeyPairAttributes.builder()
.keyPairName("the-keypair-name")
.type(KeyPairType.RSA)
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forKeyPairAttributesstatic final classAn implementation forKeyPairAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyPairAttributes.Builderbuilder()The unique name of the key pair.default KeyPairTypegetType()The type of the key pair.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKeyPairName
The unique name of the key pair. -
getType
The type of the key pair.Default: no type specified
-
builder
- Returns:
- a
KeyPairAttributes.BuilderofKeyPairAttributes
-