amazonka-opsworks-0.1.1: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.AssignInstance

Contents

Description

Assign a registered instance to a custom layer. You cannot use this action with instances that were created with AWS OpsWorks.

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

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

Synopsis

Request

Request constructor

assignInstance Source

AssignInstance constructor.

The fields accessible through corresponding lenses are:

Request lenses

aiLayerIds :: Lens' AssignInstance [Text] Source

The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.

Response

Response constructor