Skip to content

UpdateResourceMetricsConfigurationInput

Source code in docs_src/capo_cloudwatch/types/update_resource_metrics_configuration_input.py
class UpdateResourceMetricsConfigurationInput(TypedDict, closed=True):
    resource_arn: NotRequired["capo_cloudwatch.types.resource_arn.ResourceArn"]
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to update the resource metrics configuration for.</p>"""
    metric_selections: NotRequired[
        "capo_cloudwatch.types.resource_metric_selection_list.ResourceMetricSelectionList"
    ]
    """<p>Specifies which metrics Amazon CloudWatch collects for the resource. The selections that you provide completely replace any existing metric selections.</p> <p>If you omit this parameter, Amazon CloudWatch removes any existing metric selection filter and collects all available detailed metrics for the resource.</p>"""

metric_selections instance-attribute

metric_selections: NotRequired[ResourceMetricSelectionList]

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.

resource_arn instance-attribute

resource_arn: NotRequired[ResourceArn]

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