Class KeyPairProps.Jsii$Proxy
- All Implemented Interfaces:
ResourceProps,KeyPairProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
KeyPairProps
KeyPairProps-
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.KeyPairProps
KeyPairProps.Builder, KeyPairProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(KeyPairProps.Builder builder) Constructor that initializes the object based on literal property values passed by theKeyPairProps.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 AWS account ID this resource belongs to.final StringARN to deduce region and account from.final KeyPairFormatThe format of the key pair.final StringA unique name for the key pair.final StringThe value passed in by users to the physical name prop of the resource.final StringThe public key material.final StringThe AWS region this resource belongs to.final KeyPairTypegetType()The type of 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 theKeyPairProps.Builder.
-
-
Method Details
-
getFormat
Description copied from interface:KeyPairPropsThe format of the key pair.Default: PEM
- Specified by:
getFormatin interfaceKeyPairProps
-
getKeyPairName
Description copied from interface:KeyPairPropsA unique name for the key pair.Default: A generated name
- Specified by:
getKeyPairNamein interfaceKeyPairProps
-
getPublicKeyMaterial
Description copied from interface:KeyPairPropsThe public key material.If this is provided the key is considered "imported". For imported keys, it is assumed that you already have the private key material so the private key material will not be returned or stored in AWS Systems Manager Parameter Store.
Default: a public and private key will be generated
- Specified by:
getPublicKeyMaterialin interfaceKeyPairProps
-
getType
Description copied from interface:KeyPairPropsThe type of key pair.Default: RSA (ignored if keyMaterial is provided)
- Specified by:
getTypein interfaceKeyPairProps
-
getAccount
Description copied from interface:ResourcePropsThe AWS account ID this resource belongs to.Default: - the resource is in the same account as the stack it belongs to
- Specified by:
getAccountin interfaceResourceProps
-
getEnvironmentFromArn
Description copied from interface:ResourcePropsARN to deduce region and account from.The ARN is parsed and the account and region are taken from the ARN. This should be used for imported resources.
Cannot be supplied together with either
accountorregion.Default: - take environment from `account`, `region` parameters, or use Stack environment.
- Specified by:
getEnvironmentFromArnin interfaceResourceProps
-
getPhysicalName
Description copied from interface:ResourcePropsThe value passed in by users to the physical name prop of the resource.undefinedimplies that a physical name will be allocated by CloudFormation during deployment.- a concrete value implies a specific physical name
PhysicalName.GENERATE_IF_NEEDEDis a marker that indicates that a physical will only be generated by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation.
Default: - The physical name will be allocated by CloudFormation at deployment time
- Specified by:
getPhysicalNamein interfaceResourceProps
-
getRegion
Description copied from interface:ResourcePropsThe AWS region this resource belongs to.Default: - the resource is in the same region as the stack it belongs to
- Specified by:
getRegionin interfaceResourceProps
-
$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()
-