SSHKeyPairAttachmentProps
Properties for defining a SSHKeyPairAttachment.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-sshkeypairattachment
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkecs"
&alicloudroscdkecs.SSHKeyPairAttachmentProps {
InstanceIds: interface{},
KeyPairName: interface{},
AutoReboot: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
InstanceIds | interface{} | Property instanceIds: The IDs of instances to which you want to bind the SSH key pair. |
KeyPairName | interface{} | Property keyPairName: SSH key pair name. |
AutoReboot | interface{} | Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect. |
InstanceIdsRequired
InstanceIds interface{}
- Type: interface{}
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
KeyPairName interface{}
- Type: interface{}
Property keyPairName: SSH key pair name.
AutoRebootOptional
AutoReboot interface{}
- Type: interface{}
Property autoReboot: If the instance is running, whether to reboot the instance for the ssh key to take effect.
Default: false