Skip to content

KeyPairProps

Properties for defining a KeyPair.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudphone-keypair

Initializer

import ros_cdk_cloudphone
ros_cdk_cloudphone.KeyPairProps(
  key_pair_name: typing.Union[str, IResolvable],
  public_key_body: typing.Union[str, IResolvable]
)

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: The public key content of the key pair.

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 be globally unique. The name must be 2 to 128 characters in length. The name must start with a letter but cannot start with http:// or https://. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).


public_key_bodyRequired

public_key_body: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property publicKeyBody: The public key content of the key pair.