amazonka-opsworks-0.1.1: Amazon OpsWorks SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.OpsWorks.DeleteInstance

Contents

Description

Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

For more information, see Deleting Instances.

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

Synopsis

Request

Request constructor

deleteInstance Source

DeleteInstance constructor.

The fields accessible through corresponding lenses are:

Request lenses

diDeleteElasticIp :: Lens' DeleteInstance (Maybe Bool) Source

Whether to delete the instance Elastic IP address.

diDeleteVolumes :: Lens' DeleteInstance (Maybe Bool) Source

Whether to delete the instance's Amazon EBS volumes.

Response

Response constructor