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 comma delimited ECS instance id list. |
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. |
InstanceIds
Required
InstanceIds interface{}
- Type: interface{}
Property instanceIds: The comma delimited ECS instance id list.
Only support Linux.
KeyPairName
Required
KeyPairName interface{}
- Type: interface{}
Property keyPairName: SSH key pair name.
AutoReboot
Optional
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