SSHKeyPairAttachmentProps
Properties for defining a SSHKeyPairAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
Initializer
import { SSHKeyPairAttachmentProps } from '@alicloud/ros-cdk-ecs'
const sSHKeyPairAttachmentProps: SSHKeyPairAttachmentProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
instanceIds |
any[] | @alicloud/ros-cdk-core.IResolvable |
Property instanceIds: The comma delimited ECS instance id list. |
keyPairName |
string | @alicloud/ros-cdk-core.IResolvable |
Property keyPairName: SSH key pair name. |
autoReboot |
boolean | @alicloud/ros-cdk-core.IResolvable |
Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect. |
instanceIdsRequired
public readonly instanceIds: any[] | IResolvable;
- Type: any[] | @alicloud/ros-cdk-core.IResolvable
Property instanceIds: The comma delimited ECS instance id list.
Only support Linux.
keyPairNameRequired
public readonly keyPairName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property keyPairName: SSH key pair name.
autoRebootOptional
public readonly autoReboot: boolean | IResolvable;
- Type: boolean | @alicloud/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