RegisterInstancehandles only the second step. You should instead use the AWS CLI
registercommand, 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.
Version: (assembly version)
public class RegisterInstanceRequest : AmazonOpsWorksRequest IRequestEvents
The RegisterInstanceRequest type exposes the following members
Gets and sets the property Hostname.
The instance's hostname.
Gets and sets the property InstanceIdentity.
An InstanceIdentity object that contains the instance's identity.
Gets and sets the property PrivateIp.
The instance's private IP address.
Gets and sets the property PublicIp.
The instance's public IP address.
Gets and sets the property RsaPublicKey.
The instances public RSA key. This key is used to encrypt communication between the instance and the service.
Gets and sets the property RsaPublicKeyFingerprint.
The instances public RSA key fingerprint.
Gets and sets the property StackId.
The ID of the stack that the instance is to be registered with.
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8