cloudwatch_update_resource_metrics_configuration: Updates the resource metrics configuration for an Amazon Web...

View source: R/cloudwatch_operations.R

cloudwatch_update_resource_metrics_configurationR Documentation

Updates the resource metrics configuration for an Amazon Web Services resource

Description

Updates the resource metrics configuration for an Amazon Web Services resource. The MetricSelections value that you provide replaces any existing metric selections for the resource; it is not merged with them.

See https://www.paws-r-sdk.com/docs/cloudwatch_update_resource_metrics_configuration/ for full documentation.

Usage

cloudwatch_update_resource_metrics_configuration(
  ResourceArn,
  MetricSelections = NULL
)

Arguments

ResourceArn

[required] The Amazon Resource Name (ARN) of the Amazon Web Services resource to update the resource metrics configuration for.

MetricSelections

Specifies which metrics Amazon CloudWatch collects for the resource. The selections that you provide completely replace any existing metric selections.

If you omit this parameter, Amazon CloudWatch removes any existing metric selection filter and collects all available detailed metrics for the resource.


paws.management documentation built on Oct. 8, 2026, 1:25 a.m.