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.
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.
Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class RegisterInstanceRequest : AmazonOpsWorksRequest IRequestEvents
The RegisterInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
RegisterInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Hostname | System.String |
Gets and sets the property Hostname.
The instance's hostname. |
![]() |
InstanceIdentity | Amazon.OpsWorks.Model.InstanceIdentity |
Gets and sets the property InstanceIdentity.
An InstanceIdentity object that contains the instance's identity. |
![]() |
PrivateIp | System.String |
Gets and sets the property PrivateIp.
The instance's private IP address. |
![]() |
PublicIp | System.String |
Gets and sets the property PublicIp.
The instance's public IP address. |
![]() |
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. |
![]() |
RsaPublicKeyFingerprint | System.String |
Gets and sets the property RsaPublicKeyFingerprint.
The instances public RSA key fingerprint. |
![]() |
StackId | System.String |
Gets and sets the property StackId.
The ID of the stack that the instance is to be registered with. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8