Skip to content

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.

InstanceIdsRequired

InstanceIds interface{}
  • Type: interface{}

Property instanceIds: The comma delimited ECS instance id list.

Only support Linux.


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