AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the RegisterOnPremisesInstance operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeDeploy.AmazonCodeDeployRequest
      Amazon.CodeDeploy.Model.RegisterOnPremisesInstanceRequest

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class RegisterOnPremisesInstanceRequest : AmazonCodeDeployRequest
         IAmazonWebServiceRequest

The RegisterOnPremisesInstanceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property IamSessionArn System.String

Gets and sets the property IamSessionArn.

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

Public Property IamUserArn System.String

Gets and sets the property IamUserArn.

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

Public Property InstanceName System.String

Gets and sets the property InstanceName.

The name of the on-premises instance to register.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5