Binds a key pair to a Linux ECS instance online without requiring a restart.
Action
ACS::ECS::AttachKeyPairOnline
Description
Binds a key pair to a Linux Elastic Compute Service (ECS) instance online without restarting the instance.
Syntax
Action: ACS::ECS::AttachKeyPairOnline
Properties:
regionId: String
instanceId: String
keyPairName: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ID of the ECS instance. |
String |
Yes |
||
|
keyPairName |
The name of the key pair. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
commandOutput |
String |
References
For more information, see ACS::ECS::AttachKeyPairOnline.yml at GitHub.
该文章对您有帮助吗?