AWS::CloudWatch::ResourceMetricsConfigurationResource Type definition for AWS::CloudWatch::ResourceMetricsConfiguration. Manages the detailed monitoring metric selections for an AWS resource, identified by the ARN of the resource being monitored.
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ResourceArn | string | RequiredCreate-only |
MetricSelections | Array<ResourceMetricSelection> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
CreatedAt | string | The time at which the resource metrics configuration was created. |
UpdatedAt | string | The time at which the resource metrics configuration was last updated. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CloudWatch::ResourceMetricsConfiguration
Resources:
MyResource:
Type: AWS::CloudWatch::ResourceMetricsConfiguration
Properties:
ResourceArn: "arn:aws:service:region:account:resource"Permissions CloudFormation needs in your IAM role to manage this resource.
cloudwatch:CreateResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfigurationcloudwatch:UpdateResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfigurationcloudwatch:DeleteResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfigurationEverything you need to know about CloudWatch on one page. HD quality, print-friendly.
Download Free InfographicResourceArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ResourceArn