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

# aws_timestream_scheduled_query{% #aws_timestream_scheduled_query %}

## `account_id`{% #account_id %}

**Type**: `STRING`

## `arn`{% #arn %}

**Type**: `STRING`**Provider name**: `Arn`**Description**: The Amazon Resource Name.

## `creation_time`{% #creation_time %}

**Type**: `TIMESTAMP`**Provider name**: `CreationTime`**Description**: The creation time of the scheduled query.

## `error_report_configuration`{% #error_report_configuration %}

**Type**: `STRUCT`**Provider name**: `ErrorReportConfiguration`**Description**: Configuration for scheduled query error reporting.

- `s3_configuration`**Type**: `STRUCT`**Provider name**: `S3Configuration`**Description**: The S3 configuration for the error reports.
  - `bucket_name`**Type**: `STRING`**Provider name**: `BucketName`**Description**: Name of the S3 bucket under which error reports will be created.
  - `encryption_option`**Type**: `STRING`**Provider name**: `EncryptionOption`**Description**: Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
  - `object_key_prefix`**Type**: `STRING`**Provider name**: `ObjectKeyPrefix`**Description**: Prefix for the error report key. Timestream by default adds the following prefix to the error report path.

## `last_run_status`{% #last_run_status %}

**Type**: `STRING`**Provider name**: `LastRunStatus`**Description**: Status of the last scheduled query run.

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `Name`**Description**: The name of the scheduled query.

## `next_invocation_time`{% #next_invocation_time %}

**Type**: `TIMESTAMP`**Provider name**: `NextInvocationTime`**Description**: The next time the scheduled query is to be run.

## `previous_invocation_time`{% #previous_invocation_time %}

**Type**: `TIMESTAMP`**Provider name**: `PreviousInvocationTime`**Description**: The last time the scheduled query was run.

## `state`{% #state %}

**Type**: `STRING`**Provider name**: `State`**Description**: State of scheduled query.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `target_destination`{% #target_destination %}

**Type**: `STRUCT`**Provider name**: `TargetDestination`**Description**: Target data source where final scheduled query result will be written.

- `timestream_destination`**Type**: `STRUCT`**Provider name**: `TimestreamDestination`**Description**: Query result destination details for Timestream data source.
  - `database_name`**Type**: `STRING`**Provider name**: `DatabaseName`**Description**: Timestream database name.
  - `table_name`**Type**: `STRING`**Provider name**: `TableName`**Description**: Timestream table name.
