KeyPairProps
Properties for defining a KeyPair.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ens-keypair
Initializer
import ros_cdk_ens
ros_cdk_ens.KeyPairProps(
  key_pair_name: typing.Union[str, IResolvable],
  public_key_body: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description | 
|---|---|---|
key_pair_name | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property keyPairName: The name of the key pair. | 
public_key_body | 
typing.Union[str, ros_cdk_core.IResolvable] | 
Property publicKeyBody: SSH Public key. | 
key_pair_nameRequired 
key_pair_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property keyPairName: The name of the key pair.
The name must conform to the following naming conventions: The name must be 2 to 128 characters in length, and can contain letters, digits, colons (:), underscores (_), and hyphens (-). It must start with a letter but cannot start with http:// or https://.
public_key_bodyOptional 
public_key_body: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
 
Property publicKeyBody: SSH Public key.
If PublicKeyBody is specified, existed public key body will be imported instead of creating new SSH key pair.