AWS::IoT::FleetMetricAn aggregated metric of certain devices in your fleet
10 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
MetricName | string | RequiredCreate-only |
AggregationField | string | |
AggregationType | AggregationType | |
Description | string | |
IndexName | string | |
Period | integer | |
QueryString | string | |
QueryVersion | string | |
Tags | Array<Tag> | |
Unit | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreationDate | string | The creation date of a fleet metric |
LastModifiedDate | string | The last modified date of a fleet metric |
MetricArn | string | The Amazon Resource Number (ARN) of a fleet metric metric |
Version | number | The version of a fleet metric |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::IoT::FleetMetric
Resources:
MyResource:
Type: AWS::IoT::FleetMetric
Properties:
MetricName: "my-metricname"
Tags:
- Key: Environment
Value: Production
Description: !Ref "AWS::StackName"Permissions CloudFormation needs in your IAM role to manage this resource.
iot:CreateFleetMetriciot:DescribeFleetMetriciot:TagResourceiot:DescribeFleetMetriciot:ListTagsForResourceiot:UpdateFleetMetriciot:DescribeFleetMetriciot:ListTagsForResourceiot:UntagResourceiot:TagResourceiot:DeleteFleetMetriciot:DescribeFleetMetriciot:ListFleetMetricsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterMetricNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
MetricName