Skip to content

Resource

Source code in docs_src/capo_notifications/types/resource.py
class Resource(TypedDict, closed=True):
    id: NotRequired["str"]
    """<p>The unique identifier for the resource.</p> <p>At least one id or ARN is required.</p>"""
    arn: NotRequired["capo_notifications.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.</p>"""
    detail_url: NotRequired["capo_notifications.types.url.Url"]
    """<p>The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.</p>"""
    tags: NotRequired["capo_notifications.types.tags.Tags"]
    """<p>A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.</p>"""

arn instance-attribute

arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the resource. At least one id or ARN is required.

detail_url instance-attribute

detail_url: NotRequired[Url]

The URL to the resource's detail page. If a detail page URL is unavailable, it is the URL to an informational page that describes the resource's type.

id instance-attribute

id: NotRequired[str]

The unique identifier for the resource.

At least one id or ARN is required.

tags instance-attribute

tags: NotRequired[Tags]

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.