amazonka-opsworks-0.3.2: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.RegisterInstance

Contents

Description

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. 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.

http://docs.aws.amazon.com/opsworks/latest/APIReference/API_RegisterInstance.html

Synopsis

Request

Request constructor

registerInstance Source

Arguments

:: Text

riStackId

-> RegisterInstance 

RegisterInstance constructor.

The fields accessible through corresponding lenses are:

Request lenses

riHostname :: Lens' RegisterInstance (Maybe Text) Source

The instance's hostname.

riInstanceIdentity :: Lens' RegisterInstance (Maybe InstanceIdentity) Source

An InstanceIdentity object that contains the instance's identity.

riPrivateIp :: Lens' RegisterInstance (Maybe Text) Source

The instance's private IP address.

riPublicIp :: Lens' RegisterInstance (Maybe Text) Source

The instance's public IP address.

riRsaPublicKey :: Lens' RegisterInstance (Maybe Text) Source

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

riRsaPublicKeyFingerprint :: Lens' RegisterInstance (Maybe Text) Source

The instances public RSA key fingerprint.

riStackId :: Lens' RegisterInstance Text Source

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

Response

Response constructor

registerInstanceResponse :: RegisterInstanceResponse Source

RegisterInstanceResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

rirInstanceId :: Lens' RegisterInstanceResponse (Maybe Text) Source

The registered instance's AWS OpsWorks ID.