Skip to content

ResourceMetricsConfiguration

Source code in docs_src/capo_cloudwatch/types/resource_metrics_configuration.py
class ResourceMetricsConfiguration(TypedDict, closed=True):
    resource_arn: NotRequired["capo_cloudwatch.types.resource_arn.ResourceArn"]
    """<p>The Amazon Resource Name (ARN) of the Amazon Web Services resource that this configuration applies to.</p>"""
    created_at: NotRequired["capo_cloudwatch.types.timestamp.Timestamp"]
    """<p>The date and time that the resource metrics configuration was created.</p>"""
    updated_at: NotRequired["capo_cloudwatch.types.timestamp.Timestamp"]
    """<p>The date and time that the resource metrics configuration was last updated. When the configuration is first created, this value is the same as <code>CreatedAt</code>.</p>"""
    metric_selections: NotRequired[
        "capo_cloudwatch.types.resource_metric_selection_list.ResourceMetricSelectionList"
    ]
    """<p>The metrics that Amazon CloudWatch collects for the resource. If this field is not present, Amazon CloudWatch collects all available detailed metrics for the resource.</p>"""

created_at instance-attribute

created_at: NotRequired[Timestamp]

The date and time that the resource metrics configuration was created.

metric_selections instance-attribute

metric_selections: NotRequired[ResourceMetricSelectionList]

The metrics that Amazon CloudWatch collects for the resource. If this field is not present, Amazon CloudWatch 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 that this configuration applies to.

updated_at instance-attribute

updated_at: NotRequired[Timestamp]

The date and time that the resource metrics configuration was last updated. When the configuration is first created, this value is the same as CreatedAt.