Class CfnKeyPairProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.CfnKeyPairProps.Jsii$Proxy
- All Implemented Interfaces:
CfnKeyPairProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnKeyPairProps
@Stability(Stable)
@Internal
public static final class CfnKeyPairProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnKeyPairProps
An implementation for
CfnKeyPairProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnKeyPairProps
CfnKeyPairProps.Builder, CfnKeyPairProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnKeyPairProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnKeyPairProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
The format of the key pair.final String
A unique name for the key pair.final String
The type of key pair.final String
The public key material.getTags()
The tags to apply to the key pair.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnKeyPairProps.Builder
.
-
-
Method Details
-
getKeyName
Description copied from interface:CfnKeyPairProps
A unique name for the key pair.Constraints: Up to 255 ASCII characters
- Specified by:
getKeyName
in interfaceCfnKeyPairProps
- See Also:
-
getKeyFormat
Description copied from interface:CfnKeyPairProps
The format of the key pair.Default:
pem
Default: - "pem"
- Specified by:
getKeyFormat
in interfaceCfnKeyPairProps
- See Also:
-
getKeyType
Description copied from interface:CfnKeyPairProps
The type of key pair. Note that ED25519 keys are not supported for Windows instances.If the
PublicKeyMaterial
property is specified, theKeyType
property is ignored, and the key type is inferred from thePublicKeyMaterial
value.Default:
rsa
Default: - "rsa"
- Specified by:
getKeyType
in interfaceCfnKeyPairProps
- See Also:
-
getPublicKeyMaterial
Description copied from interface:CfnKeyPairProps
The public key material.The
PublicKeyMaterial
property is used to import a key pair. If this property is not specified, then a new key pair will be created.- Specified by:
getPublicKeyMaterial
in interfaceCfnKeyPairProps
- See Also:
-
getTags
Description copied from interface:CfnKeyPairProps
The tags to apply to the key pair.- Specified by:
getTags
in interfaceCfnKeyPairProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-