All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::AttachKeyPairOnline

Last Updated:Aug 06, 2024

Action

ACS::ECS::AttachKeyPairOnline

Description

Binds a key pair to a Linux Elastic Compute Service (ECS) instance online. You do not need to restart the ECS 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.