CodeDeploy / Client / register_on_premises_instance

register_on_premises_instance#

CodeDeploy.Client.register_on_premises_instance(**kwargs)#

Registers an on-premises instance.

Note

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

See also: AWS API Documentation

Request Syntax

response = client.register_on_premises_instance(
    instanceName='string',
    iamSessionArn='string',
    iamUserArn='string'
)
Parameters:
  • instanceName (string) –

    [REQUIRED]

    The name of the on-premises instance to register.

  • iamSessionArn (string) – The ARN of the IAM session to associate with the on-premises instance.

  • iamUserArn (string) – The ARN of the user to associate with the on-premises instance.

Returns:

None

Exceptions