ACS::ECS::AttachKeyPairOnline

更新时间:
复制 MD 格式

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.