AWS::CloudWatch::ResourceMetricsConfiguration

CloudWatch ResourceMetricsConfiguration

Resource 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.

Properties

2 configurable properties. 1 required. Click a row to see details.

Filter:
PropertyTypeFlags
ResourceArn
string
RequiredCreate-only
MetricSelections
Array<ResourceMetricSelection>

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
CreatedAtstringThe time at which the resource metrics configuration was created.
UpdatedAtstringThe time at which the resource metrics configuration was last updated.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
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"

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

create

cloudwatch:CreateResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfiguration

read

cloudwatch:GetResourceMetricsConfiguration

update

cloudwatch:UpdateResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfiguration

delete

cloudwatch:DeleteResourceMetricsConfigurationcloudwatch:GetResourceMetricsConfiguration

list

cloudwatch:GetResourceMetricsConfiguration

Get the CloudWatch Cheat Sheet

Everything you need to know about CloudWatch on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCloudWatch
Properties4
Required1
TaggingNot supported
Primary IDResourceArn

Supported Operations

CreateReadUpdateDeleteList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ResourceArn

External Links