v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1447387247.5 KB

Registers an on-premises instance.

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

post/#X-Amz-Target=CodeDeploy_20141006.RegisterOnPremisesInstance

Headers

X-Amz-Target'CodeDeploy_20141006.RegisterOnPremisesInstance' required

Request body

instanceNamestring required

The name of the on-premises instance to register.

iamSessionArnstring

The ARN of the IAM session to associate with the on-premises instance.

iamUserArnstring

The ARN of the IAM user to associate with the on-premises instance.

Response

Success