AWS SDK Version 2 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.

.NET Framework 3.5
Container for the parameters to the RegisterInstance operation. Registers instances with a specified stack that were created outside of AWS OpsWorks. We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks agent on the instance and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Inheritance Hierarchy


Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class RegisterInstanceRequest : AmazonOpsWorksRequest

The RegisterInstanceRequest type exposes the following members


Public Method RegisterInstanceRequest()


Public Property Hostname System.String Gets and sets the property Hostname.

The instance's hostname.

Public Property InstanceIdentity Amazon.OpsWorks.Model.InstanceIdentity Gets and sets the property InstanceIdentity.

An InstanceIdentity object that contains the instance's identity.

Public Property PrivateIp System.String Gets and sets the property PrivateIp.

The instance's private IP address.

Public Property PublicIp System.String Gets and sets the property PublicIp.

The instance's public IP address.

Public Property RsaPublicKey System.String Gets and sets the property RsaPublicKey.

The instances public RSA key. This key is used to encrypt communication between the instance and the service.

Public Property RsaPublicKeyFingerprint System.String Gets and sets the property RsaPublicKeyFingerprint.

The instances public RSA key fingerprint.

Public Property StackId System.String Gets and sets the property StackId.

The ID of the stack that the instance is to be registered with.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8