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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnKeyPairProps
CfnKeyPairProps.Builder, CfnKeyPairProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnKeyPairProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnKeyPairProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
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:CfnKeyPairPropsA unique name for the key pair.Constraints: Up to 255 ASCII characters
- Specified by:
getKeyNamein interfaceCfnKeyPairProps
-
getKeyType
Description copied from interface:CfnKeyPairPropsThe type of key pair. Note that ED25519 keys are not supported for Windows instances.If the
PublicKeyMaterialproperty is specified, theKeyTypeproperty is ignored, and the key type is inferred from thePublicKeyMaterialvalue.Default:
rsa- Specified by:
getKeyTypein interfaceCfnKeyPairProps
-
getPublicKeyMaterial
Description copied from interface:CfnKeyPairPropsThe public key material.The
PublicKeyMaterialproperty is used to import a key pair. If this property is not specified, then a new key pair will be created.- Specified by:
getPublicKeyMaterialin interfaceCfnKeyPairProps
-
getTags
Description copied from interface:CfnKeyPairPropsThe tags to apply to the key pair.- Specified by:
getTagsin interfaceCfnKeyPairProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-