# Source: https://docs.datadoghq.com/ddsql_reference/data_directory/aws/aws.fsx_task.dataset.md

---
title: FSx Task
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > FSx Task
---

# FSx Task

This table represents the FSx Task resource from Amazon Web Services.

```
aws.fsx_task
```

## Fields

| Title                 | ID   | Type          | Data Type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | Description |
| --------------------- | ---- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                  | core | string        |
| account_id            | core | string        |
| capacity_to_release   | core | int64         | Specifies the amount of data to release, in GiB, by an Amazon File Cache AUTO_RELEASE_DATA task that automatically releases files from the cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| creation_time         | core | timestamp     |
| end_time              | core | timestamp     | The time the system completed processing the task, populated after the task is complete.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| failure_details       | core | json          | Failure message describing why the task failed, it is populated only when <code>Lifecycle</code> is set to <code>FAILED</code>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| file_cache_id         | core | string        | The system-generated, unique ID of the cache.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| file_system_id        | core | string        | The globally unique ID of the file system.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| lifecycle             | core | string        | The lifecycle status of the data repository task, as follows: <ul> <li> <code>PENDING</code> - The task has not started. </li> <li> <code>EXECUTING</code> - The task is in process. </li> <li> <code>FAILED</code> - The task was not able to be completed. For example, there may be files the task failed to process. The <a>DataRepositoryTaskFailureDetails</a> property provides more information about task failures. </li> <li> <code>SUCCEEDED</code> - The task has completed successfully. </li> <li> <code>CANCELED</code> - The task was canceled and it did not complete. </li> <li> <code>CANCELING</code> - The task is in process of being canceled. </li> </ul> <note> You cannot delete an FSx for Lustre file system if there are data repository tasks for the file system in the <code>PENDING</code> or <code>EXECUTING</code> states. Please retry when the data repository task is finished (with a status of <code>CANCELED</code>, <code>SUCCEEDED</code>, or <code>FAILED</code>). You can use the DescribeDataRepositoryTask action to monitor the task status. Contact the FSx team if you need to delete your file system immediately. </note> |
| paths                 | core | array<string> | An array of paths that specify the data for the data repository task to process. For example, in an EXPORT_TO_REPOSITORY task, the paths specify which data to export to the linked data repository. (Default) If <code>Paths</code> is not specified, Amazon FSx uses the file system root directory.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| release_configuration | core | json          | The configuration that specifies the last accessed time criteria for files that will be released from an Amazon FSx for Lustre file system.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| report                | core | json          |
| resource_arn          | core | string        |
| start_time            | core | timestamp     | The time the system began processing the task.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| status                | core | json          | Provides the status of the number of files that the task has processed successfully and failed to process.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| tags                  | core | hstore_csv    |
| task_id               | core | string        | The system-generated, unique 17-digit ID of the data repository task.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| type                  | core | string        | The type of data repository task. <ul> <li> <code>EXPORT_TO_REPOSITORY</code> tasks export from your Amazon FSx for Lustre file system to a linked data repository. </li> <li> <code>IMPORT_METADATA_FROM_REPOSITORY</code> tasks import metadata changes from a linked S3 bucket to your Amazon FSx for Lustre file system. </li> <li> <code>RELEASE_DATA_FROM_FILESYSTEM</code> tasks release files in your Amazon FSx for Lustre file system that have been exported to a linked S3 bucket and that meet your specified release criteria. </li> <li> <code>AUTO_RELEASE_DATA</code> tasks automatically release files from an Amazon File Cache resource. </li> </ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |