SSHKeyPairAttachmentProps
Properties for defining a SSHKeyPairAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
Initializer
import ros_cdk_ecs
ros_cdk_ecs.SSHKeyPairAttachmentProps(
instance_ids: typing.Union[typing.List[typing.Any], IResolvable],
key_pair_name: typing.Union[str, IResolvable],
auto_reboot: typing.Union[bool, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
instance_ids | typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] | Property instanceIds: The IDs of instances to which you want to bind the SSH key pair. |
key_pair_name | typing.Union[str, ros_cdk_core.IResolvable] | Property keyPairName: SSH key pair name. |
auto_reboot | typing.Union[bool, ros_cdk_core.IResolvable] | Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect. |
instance_idsRequired
instance_ids: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property instanceIds: The IDs of instances to which you want to bind the SSH key pair.
The value can be a JSON array that consists of up to 50 instance IDs. Separate multiple instance IDs with commas (,).
key_pair_nameRequired
key_pair_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property keyPairName: SSH key pair name.
auto_rebootOptional
auto_reboot: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect.
Default: false