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
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe format of the key pair.final StringA unique name for the key pair.final StringThe type of key pair.final StringThe public key material.getTags()The tags to apply to the key pair.final inthashCode()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- See Also:
-
getKeyFormat
Description copied from interface:CfnKeyPairPropsThe format of the key pair.Default:
pemDefault: - "pem"
- Specified by:
getKeyFormatin interfaceCfnKeyPairProps- See Also:
-
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:
rsaDefault: - "rsa"
- Specified by:
getKeyTypein interfaceCfnKeyPairProps- See Also:
-
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- See Also:
-
getTags
Description copied from interface:CfnKeyPairPropsThe tags to apply to the key pair.- Specified by:
getTagsin interfaceCfnKeyPairProps- See Also:
-
$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()
-