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 IDs of instances to which you want to bind the SSH key pair. |
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 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 (,).
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