Skip to content

Resource

Source code in docs_src/capo_auditmanager/types/resource.py
class Resource(TypedDict, closed=True):
    arn: NotRequired["capo_auditmanager.types.generic_arn.GenericArn"]
    """<p> The Amazon Resource Name (ARN) for the resource. </p>"""
    value: NotRequired["capo_auditmanager.types.string.String"]
    """<p> The value of the resource. </p>"""
    compliance_check: NotRequired["capo_auditmanager.types.string.String"]
    """<p> The evaluation status for a resource that was assessed when collecting compliance check evidence. </p> <ul> <li> <p>Audit Manager classes the resource as non-compliant if Security Hub CSPM reports a <i>Fail</i> result, or if Config reports a <i>Non-compliant</i> result.</p> </li> <li> <p>Audit Manager classes the resource as compliant if Security Hub CSPM reports a <i>Pass</i> result, or if Config reports a <i>Compliant</i> result.</p> </li> <li> <p>If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub CSPM as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail). </p> </li> </ul>"""

arn instance-attribute

arn: NotRequired[GenericArn]

The Amazon Resource Name (ARN) for the resource.

compliance_check instance-attribute

compliance_check: NotRequired[String]

The evaluation status for a resource that was assessed when collecting compliance check evidence.

  • Audit Manager classes the resource as non-compliant if Security Hub CSPM reports a Fail result, or if Config reports a Non-compliant result.

  • Audit Manager classes the resource as compliant if Security Hub CSPM reports a Pass result, or if Config reports a Compliant result.

  • If a compliance check isn't available or applicable, then no compliance evaluation can be made for that resource. This is the case if a resource assessment uses Config or Security Hub CSPM as the underlying data source type, but those services aren't enabled. This is also the case if the resource assessment uses an underlying data source type that doesn't support compliance checks (such as manual evidence, Amazon Web Services API calls, or CloudTrail).

value instance-attribute

value: NotRequired[String]

The value of the resource.