All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::AttachKeyPair

Last Updated:Jul 31, 2024

Action

ACS::ECS::AttachKeyPair

Description

Binds an SSH key pair to a Linux Elastic Compute Service (ECS) instance.

Syntax

Action: ACS::ECS::AttachKeyPair
Properties:
  regionId: String
  instanceId: String
  keyPairName: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

Yes

instanceId

The ID of the ECS instance.

String

Yes

keyPairName

The name of the SSH key pair.

String

Yes

Output

None

References

For more information, see ACS::ECS::AttachKeyPair.yml at GitHub.