---
type: resource-type
title: FleetMetric
description: aws resource type AWS::IoT::FleetMetric
name: FleetMetric
lexicon: aws
resource_type: AWS::IoT::FleetMetric
---
`AWS::IoT::FleetMetric`, a resource type of the aws lexicon.

## Properties

- `MetricName` (`string`, required): The name of the fleet metric
- `AggregationField` (`string`, optional): The aggregation field to perform aggregation and metric emission
- `AggregationType` (`FleetMetric_AggregationType`, optional)
- `CreationDate` (`string`, optional): The creation date of a fleet metric
- `Description` (`string`, optional): The description of a fleet metric
- `IndexName` (`string`, optional): The index name of a fleet metric
- `LastModifiedDate` (`string`, optional): The last modified date of a fleet metric
- `MetricArn` (`string`, optional): The Amazon Resource Number (ARN) of a fleet metric metric
- `Period` (`number`, optional): The period of metric emission in seconds
- `QueryString` (`string`, optional): The Fleet Indexing query used by a fleet metric
- `QueryVersion` (`string`, optional): The version of a Fleet Indexing query used by a fleet metric
- `Tags` (`FleetMetric_Tag[]`, optional): An array of key-value pairs to apply to this resource
- `Unit` (`string`, optional): The unit of data points emitted by a fleet metric
- `Version` (`number`, optional): The version of a fleet metric

## Attributes

- `CreationDate`
- `LastModifiedDate`
- `MetricArn`
- `Version`
