---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# aws_iotanalytics_datastore{% #aws_iotanalytics_datastore %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `datastore`{% #datastore %}

**Type**: `STRUCT`**Provider name**: `datastore`**Description**: Information about the data store.

- `arn`**Type**: `STRING`**Provider name**: `arn`**Description**: The ARN of the data store.
- `creation_time`**Type**: `TIMESTAMP`**Provider name**: `creationTime`**Description**: When the data store was created.
- `datastore_partitions`**Type**: `STRUCT`**Provider name**: `datastorePartitions`**Description**: Contains information about the partition dimensions in a data store.
  - `partitions`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `partitions`**Description**: A list of partition dimensions in a data store.
    - `attribute_partition`**Type**: `STRUCT`**Provider name**: `attributePartition`**Description**: A partition dimension defined by an `attributeName`.
      - `attribute_name`**Type**: `STRING`**Provider name**: `attributeName`**Description**: The name of the attribute that defines a partition dimension.
    - `timestamp_partition`**Type**: `STRUCT`**Provider name**: `timestampPartition`**Description**: A partition dimension defined by a timestamp attribute.
      - `attribute_name`**Type**: `STRING`**Provider name**: `attributeName`**Description**: The attribute name of the partition defined by a timestamp.
      - `timestamp_format`**Type**: `STRING`**Provider name**: `timestampFormat`**Description**: The timestamp format of a partition defined by a timestamp. The default format is seconds since epoch (January 1, 1970 at midnight UTC time).
- `file_format_configuration`**Type**: `STRUCT`**Provider name**: `fileFormatConfiguration`**Description**: Contains the configuration information of file formats. IoT Analytics data stores support JSON and [Parquet](https://parquet.apache.org/). The default file format is JSON. You can specify only one format. You can't change the file format after you create the data store.
  - `json_configuration`**Type**: `STRUCT`**Provider name**: `jsonConfiguration`**Description**: Contains the configuration information of the JSON format.

  - `parquet_configuration`**Type**: `STRUCT`**Provider name**: `parquetConfiguration`**Description**: Contains the configuration information of the Parquet format.

    - `schema_definition`**Type**: `STRUCT`**Provider name**: `schemaDefinition`**Description**: Information needed to define a schema.
      - `columns`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `columns`**Description**: Specifies one or more columns that store your data. Each schema can have up to 100 columns. Each column can have up to 100 nested types.
        - `name`**Type**: `STRING`**Provider name**: `name`**Description**: The name of the column.
        - `type`**Type**: `STRING`**Provider name**: `type`**Description**: The type of data. For more information about the supported data types, see [Common data types](https://docs.aws.amazon.com/glue/latest/dg/aws-glue-api-common.html) in the Glue Developer Guide.
- `last_message_arrival_time`**Type**: `TIMESTAMP`**Provider name**: `lastMessageArrivalTime`**Description**: The last time when a new message arrived in the data store. IoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the `lastMessageArrivalTime` value is an approximation. This feature only applies to messages that arrived in the data store after October 23, 2020.
- `last_update_time`**Type**: `TIMESTAMP`**Provider name**: `lastUpdateTime`**Description**: The last time the data store was updated.
- `name`**Type**: `STRING`**Provider name**: `name`**Description**: The name of the data store.
- `retention_period`**Type**: `STRUCT`**Provider name**: `retentionPeriod`**Description**: How long, in days, message data is kept for the data store. When `customerManagedS3` storage is selected, this parameter is ignored.
  - `number_of_days`**Type**: `INT32`**Provider name**: `numberOfDays`**Description**: The number of days that message data is kept. The `unlimited` parameter must be false.
  - `unlimited`**Type**: `BOOLEAN`**Provider name**: `unlimited`**Description**: If true, message data is kept indefinitely.
- `status`**Type**: `STRING`**Provider name**: `status`**Description**: The status of a data store:
  {% dl %}
  
  {% dt %}
CREATING
  {% /dt %}

  {% dd %}
The data store is being created.
  {% /dd %}

  {% dt %}
ACTIVE
  {% /dt %}

  {% dd %}
The data store has been created and can be used.
  {% /dd %}

  {% dt %}
DELETING
  {% /dt %}

  {% dd %}
The data store is being deleted.
  {% /dd %}

    {% /dl %}
- `storage`**Type**: `STRUCT`**Provider name**: `storage`**Description**: Where data in a data store is stored.. You can choose `serviceManagedS3` storage, `customerManagedS3` storage, or `iotSiteWiseMultiLayerStorage` storage. The default is `serviceManagedS3`. You can't change the choice of Amazon S3 storage after your data store is created.
  - `customer_managed_s3`**Type**: `STRUCT`**Provider name**: `customerManagedS3`**Description**: S3-customer-managed; When you choose customer-managed storage, the `retentionPeriod` parameter is ignored. You can't change the choice of Amazon S3 storage after your data store is created.
    - `bucket`**Type**: `STRING`**Provider name**: `bucket`**Description**: The name of the Amazon S3 bucket where your data is stored.
    - `key_prefix`**Type**: `STRING`**Provider name**: `keyPrefix`**Description**: (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
    - `role_arn`**Type**: `STRING`**Provider name**: `roleArn`**Description**: The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
  - `iot_site_wise_multi_layer_storage`**Type**: `STRUCT`**Provider name**: `iotSiteWiseMultiLayerStorage`**Description**: Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
    - `customer_managed_s3_storage`**Type**: `STRUCT`**Provider name**: `customerManagedS3Storage`**Description**: Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage.
      - `bucket`**Type**: `STRING`**Provider name**: `bucket`**Description**: The name of the Amazon S3 bucket where your data is stored.
      - `key_prefix`**Type**: `STRING`**Provider name**: `keyPrefix`**Description**: (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).
  - `service_managed_s3`**Type**: `STRUCT`**Provider name**: `serviceManagedS3`**Description**: Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon S3 storage after your data store is created.

## `statistics`{% #statistics %}

**Type**: `STRUCT`**Provider name**: `statistics`**Description**: Additional statistical information about the data store. Included if the `includeStatistics` parameter is set to `true` in the request.

- `size`**Type**: `STRUCT`**Provider name**: `size`**Description**: The estimated size of the data store.
  - `estimated_on`**Type**: `TIMESTAMP`**Provider name**: `estimatedOn`**Description**: The time when the estimate of the size of the resource was made.
  - `estimated_size_in_bytes`**Type**: `DOUBLE`**Provider name**: `estimatedSizeInBytes`**Description**: The estimated size of the resource, in bytes.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`
