Skip to content

ComplianceDrift

Source code in docs_src/capo_resiliencehub/types/compliance_drift.py
class ComplianceDrift(TypedDict, closed=True):
    entity_id: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either application ID or the AppComponent ID.</p>"""
    entity_type: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports <code>AWS::ResilienceHub::AppComponent</code> and <code>AWS::ResilienceHub::Application</code>.</p>"""
    drift_type: NotRequired["capo_resiliencehub.types.drift_type.DriftType"]
    """<p>The type of drift detected. Currently, Resilience Hub supports only <b>ApplicationCompliance</b> drift type.</p>"""
    app_id: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Identifier of your application.</p>"""
    app_version: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Published version of your application on which drift was detected.</p>"""
    expected_reference_id: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the previous assessment (associated with the reference identifier) to compare the compliance with the current assessment to identify drifts.</p>"""
    expected_value: NotRequired[
        "capo_resiliencehub.types.assessment_compliance.AssessmentCompliance"
    ]
    """<p>The expected compliance value of an entity.</p>"""
    actual_reference_id: NotRequired["capo_resiliencehub.types.string255.String255"]
    """<p>Assessment identifier that is associated with this drift item.</p>"""
    actual_value: NotRequired[
        "capo_resiliencehub.types.assessment_compliance.AssessmentCompliance"
    ]
    """<p>Actual compliance value of the entity.</p>"""
    diff_type: NotRequired["capo_resiliencehub.types.difference_type.DifferenceType"]
    """<p>Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only <code>NotEqual</code> difference type.</p>"""

actual_reference_id instance-attribute

actual_reference_id: NotRequired[String255]

Assessment identifier that is associated with this drift item.

actual_value instance-attribute

actual_value: NotRequired[AssessmentCompliance]

Actual compliance value of the entity.

app_id instance-attribute

app_id: NotRequired[String255]

Identifier of your application.

app_version instance-attribute

app_version: NotRequired[String255]

Published version of your application on which drift was detected.

diff_type instance-attribute

diff_type: NotRequired[DifferenceType]

Difference type between actual and expected recovery point objective (RPO) and recovery time objective (RTO) values. Currently, Resilience Hub supports only NotEqual difference type.

drift_type instance-attribute

drift_type: NotRequired[DriftType]

The type of drift detected. Currently, Resilience Hub supports only ApplicationCompliance drift type.

entity_id instance-attribute

entity_id: NotRequired[String255]

Identifier of an entity in which drift was detected. For compliance drift, the entity ID can be either application ID or the AppComponent ID.

entity_type instance-attribute

entity_type: NotRequired[String255]

The type of entity in which drift was detected. For compliance drifts, Resilience Hub supports AWS::ResilienceHub::AppComponent and AWS::ResilienceHub::Application.

expected_reference_id instance-attribute

expected_reference_id: NotRequired[String255]

Assessment identifier of a previous assessment of the same application version. Resilience Hub uses the previous assessment (associated with the reference identifier) to compare the compliance with the current assessment to identify drifts.

expected_value instance-attribute

expected_value: NotRequired[AssessmentCompliance]

The expected compliance value of an entity.