Skip to content

DiscoveredResource

Source code in docs_src/capo_assurance/types/discovered_resource.py
class DiscoveredResource(TypedDict, closed=True):
    resource_identifier: "str"
    """<p>The identifier (typically the ARN) of the resource.</p>"""
    resource_type: "str"
    """<p>The resource type, in lowercase <code>service:type</code> form (for example, <code>s3:bucket</code>). This is the form that <code>resourcetype:</code> filters use.</p>"""
    account_id: NotRequired["capo_assurance.types.aws_account_id.AwsAccountId"]
    """<p>The AWS account the resource belongs to.</p>"""
    region: NotRequired["str"]
    """<p>The AWS Region that the resource is in. The value is <code>global</code> for global resources such as IAM.</p>"""

account_id instance-attribute

account_id: NotRequired[AwsAccountId]

The AWS account the resource belongs to.

region instance-attribute

region: NotRequired[str]

The AWS Region that the resource is in. The value is global for global resources such as IAM.

resource_identifier instance-attribute

resource_identifier: str

The identifier (typically the ARN) of the resource.

resource_type instance-attribute

resource_type: str

The resource type, in lowercase service:type form (for example, s3:bucket). This is the form that resourcetype: filters use.