ALIYUN::ECS::SSHKeyPairAttachment
Updated at:
ALIYUN::ECS::SSHKeyPairAttachment is used to bind an SSH key pair to Elastic Compute Service (ECS) instances.
Syntax
{
"Type": "ALIYUN::ECS::SSHKeyPairAttachment",
"Properties": {
"InstanceIds": List,
"KeyPairName": String,
"AutoReboot": Boolean
}
}Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceIds | List | Yes | Yes | The IDs of the ECS instances to which you want to bind an SSH key pair. | Separate IDs with commas (,). Only Linux-based instances are supported. |
KeyPairName | String | Yes | No | The name of the SSH key pair. | None. |
AutoReboot | Boolean | No | No | Specifies whether to enable the ECS instance that is in the Running state to make the SSH key pair take effect. | Valid values:
|
Return values
Fn::GetAtt
None.
Examples
Is this page helpful?