Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.
opsworks_delete_instance(InstanceId, DeleteElasticIp, DeleteVolumes)
[required] The instance ID.
Whether to delete the instance Elastic IP address.
Whether to delete the instance\'s Amazon EBS volumes.
svc$delete_instance( InstanceId = "string", DeleteElasticIp = TRUE|FALSE, DeleteVolumes = TRUE|FALSE )
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 User Permissions.