Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
- data RegisterInstance
- registerInstance :: Text -> RegisterInstance
- riHostname :: Lens' RegisterInstance (Maybe Text)
- riInstanceIdentity :: Lens' RegisterInstance (Maybe InstanceIdentity)
- riPrivateIp :: Lens' RegisterInstance (Maybe Text)
- riPublicIp :: Lens' RegisterInstance (Maybe Text)
- riRsaPublicKey :: Lens' RegisterInstance (Maybe Text)
- riRsaPublicKeyFingerprint :: Lens' RegisterInstance (Maybe Text)
- riStackId :: Lens' RegisterInstance Text
- data RegisterInstanceResponse
- registerInstanceResponse :: RegisterInstanceResponse
- rirInstanceId :: Lens' RegisterInstanceResponse (Maybe Text)
Request
data RegisterInstance Source
Request constructor
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.