Skip to content

Registers an on-premises instance

Description

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.

Usage

codedeploy_register_on_premises_instance(instanceName, iamSessionArn,
  iamUserArn)

Arguments

  • instanceName

    [required] The name of the on-premises instance to register.

  • iamSessionArn

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

  • iamUserArn

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

Value

An empty list.

Request syntax

svc$register_on_premises_instance(
  instanceName = "string",
  iamSessionArn = "string",
  iamUserArn = "string"
)