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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.KeyPairProps
KeyPairProps.Builder, KeyPairProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(KeyPairProps.Builder builder) Constructor that initializes the object based on literal property values passed by theKeyPairProps.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 AWS account ID this resource belongs to.final String
ARN to deduce region and account from.final KeyPairFormat
The format of the key pair.final String
A unique name for the key pair.final String
The value passed in by users to the physical name prop of the resource.final String
The public key material.final String
The AWS region this resource belongs to.final KeyPairType
getType()
The type of 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 theKeyPairProps.Builder
.
-
-
Method Details
-
getFormat
Description copied from interface:KeyPairProps
The format of the key pair.Default: PEM
- Specified by:
getFormat
in interfaceKeyPairProps
-
getKeyPairName
Description copied from interface:KeyPairProps
A unique name for the key pair.Default: A generated name
- Specified by:
getKeyPairName
in interfaceKeyPairProps
-
getPublicKeyMaterial
Description copied from interface:KeyPairProps
The 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:
getPublicKeyMaterial
in interfaceKeyPairProps
-
getType
Description copied from interface:KeyPairProps
The type of key pair.Default: RSA (ignored if keyMaterial is provided)
- Specified by:
getType
in interfaceKeyPairProps
-
getAccount
Description copied from interface:ResourceProps
The AWS account ID this resource belongs to.Default: - the resource is in the same account as the stack it belongs to
- Specified by:
getAccount
in interfaceResourceProps
-
getEnvironmentFromArn
Description copied from interface:ResourceProps
ARN 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
account
orregion
.Default: - take environment from `account`, `region` parameters, or use Stack environment.
- Specified by:
getEnvironmentFromArn
in interfaceResourceProps
-
getPhysicalName
Description copied from interface:ResourceProps
The value passed in by users to the physical name prop of the resource.undefined
implies that a physical name will be allocated by CloudFormation during deployment.- a concrete value implies a specific physical name
PhysicalName.GENERATE_IF_NEEDED
is 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:
getPhysicalName
in interfaceResourceProps
-
getRegion
Description copied from interface:ResourceProps
The AWS region this resource belongs to.Default: - the resource is in the same region as the stack it belongs to
- Specified by:
getRegion
in interfaceResourceProps
-
$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()
-