Skip to content

MonitoredResourceInfo

Source code in docs_src/capo_lightsail/types/monitored_resource_info.py
class MonitoredResourceInfo(TypedDict, closed=True):
    arn: NotRequired["capo_lightsail.types.resource_arn.ResourceArn"]
    """<p>The Amazon Resource Name (ARN) of the resource being monitored.</p>"""
    name: NotRequired["capo_lightsail.types.resource_name.ResourceName"]
    """<p>The name of the Lightsail resource being monitored.</p>"""
    resource_type: NotRequired["capo_lightsail.types.resource_type.ResourceType"]
    """<p>The Lightsail resource type of the resource being monitored.</p> <p>Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.</p>"""

arn instance-attribute

arn: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the resource being monitored.

name instance-attribute

name: NotRequired[ResourceName]

The name of the Lightsail resource being monitored.

resource_type instance-attribute

resource_type: NotRequired[ResourceType]

The Lightsail resource type of the resource being monitored.

Instances, load balancers, and relational databases are the only Lightsail resources that can currently be monitored by alarms.