---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_iot_fleet_metric Data Source - terraform-provider-awscc"
subcategory: ""
description: |-
Data Source schema for AWS::IoT::FleetMetric
---
# awscc_iot_fleet_metric (Data Source)
Data Source schema for AWS::IoT::FleetMetric
## Schema
### Required
- `id` (String) Uniquely identifies the resource.
### Read-Only
- `aggregation_field` (String) The aggregation field to perform aggregation and metric emission
- `aggregation_type` (Attributes) Aggregation types supported by Fleet Indexing (see [below for nested schema](#nestedatt--aggregation_type))
- `creation_date` (Number) The creation date of a fleet metric
- `description` (String) The description of a fleet metric
- `index_name` (String) The index name of a fleet metric
- `last_modified_date` (Number) The last modified date of a fleet metric
- `metric_arn` (String) The Amazon Resource Number (ARN) of a fleet metric metric
- `metric_name` (String) The name of the fleet metric
- `period` (Number) The period of metric emission in seconds
- `query_string` (String) The Fleet Indexing query used by a fleet metric
- `query_version` (String) The version of a Fleet Indexing query used by a fleet metric
- `tags` (Attributes Set) An array of key-value pairs to apply to this resource (see [below for nested schema](#nestedatt--tags))
- `unit` (String) The unit of data points emitted by a fleet metric
- `version` (Number) The version of a fleet metric
### Nested Schema for `aggregation_type`
Read-Only:
- `name` (String) Fleet Indexing aggregation type names such as Statistics, Percentiles and Cardinality
- `values` (List of String) Fleet Indexing aggregation type values
### Nested Schema for `tags`
Read-Only:
- `key` (String) The tag's key
- `value` (String) The tag's value