Skip to content

App

Source code in docs_src/capo_resiliencehub/types/app.py
class App(TypedDict, closed=True):
    app_arn: "capo_resiliencehub.types.arn.Arn"
    """<p>Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:app/<code>app-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>"""
    name: "capo_resiliencehub.types.entity_name.EntityName"
    """<p>Name for the application.</p>"""
    description: NotRequired[
        "capo_resiliencehub.types.entity_description.EntityDescription"
    ]
    """<p>Optional description for an application.</p>"""
    policy_arn: NotRequired["capo_resiliencehub.types.arn.Arn"]
    """<p>Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:<code>partition</code>:resiliencehub:<code>region</code>:<code>account</code>:resiliency-policy/<code>policy-id</code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>"""
    creation_time: "capo_resiliencehub.types.time_stamp.TimeStamp"
    """<p>Date and time when the application was created.</p>"""
    status: NotRequired["capo_resiliencehub.types.app_status_type.AppStatusType"]
    """<p>Status of the application.</p>"""
    compliance_status: NotRequired[
        "capo_resiliencehub.types.app_compliance_status_type.AppComplianceStatusType"
    ]
    """<p>Current status of compliance for the resiliency policy.</p>"""
    last_app_compliance_evaluation_time: NotRequired[
        "capo_resiliencehub.types.time_stamp.TimeStamp"
    ]
    """<p>Date and time the most recent compliance evaluation.</p>"""
    resiliency_score: "capo_resiliencehub.types.double.Double"
    """<p>Current resiliency score for the application.</p>"""
    last_resiliency_score_evaluation_time: NotRequired[
        "capo_resiliencehub.types.time_stamp.TimeStamp"
    ]
    """<p>Date and time the most recent resiliency score evaluation.</p>"""
    tags: NotRequired["capo_resiliencehub.types.tag_map.TagMap"]
    """<p>Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.</p>"""
    assessment_schedule: NotRequired[
        "capo_resiliencehub.types.app_assessment_schedule_type.AppAssessmentScheduleType"
    ]
    """<p>Assessment execution schedule with 'Daily' or 'Disabled' values. </p>"""
    permission_model: NotRequired[
        "capo_resiliencehub.types.permission_model.PermissionModel"
    ]
    """<p>Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.</p>"""
    event_subscriptions: NotRequired[
        "capo_resiliencehub.types.event_subscription_list.EventSubscriptionList"
    ]
    """<p>The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for <b>Drift detected</b> and <b>Scheduled assessment failure</b> events.</p>"""
    drift_status: NotRequired[
        "capo_resiliencehub.types.app_drift_status_type.AppDriftStatusType"
    ]
    """<p>Indicates if compliance drifts (deviations) were detected while running an assessment for your application.</p>"""
    last_drift_evaluation_time: NotRequired[
        "capo_resiliencehub.types.time_stamp.TimeStamp"
    ]
    """<p>Indicates the last time that a drift was evaluated.</p>"""
    rto_in_secs: NotRequired[
        "capo_resiliencehub.types.integer_optional.IntegerOptional"
    ]
    """<p>Recovery Time Objective (RTO) in seconds.</p>"""
    rpo_in_secs: NotRequired[
        "capo_resiliencehub.types.integer_optional.IntegerOptional"
    ]
    """<p>Recovery Point Objective (RPO) in seconds.</p>"""
    aws_application_arn: NotRequired["capo_resiliencehub.types.arn.Arn"]
    """<p>Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i> guide.</p>"""

app_arn instance-attribute

app_arn: Arn

Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn:partition:resiliencehub:region:account:app/app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

assessment_schedule instance-attribute

assessment_schedule: NotRequired[AppAssessmentScheduleType]

Assessment execution schedule with 'Daily' or 'Disabled' values.

aws_application_arn instance-attribute

aws_application_arn: NotRequired[Arn]

Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

compliance_status instance-attribute

compliance_status: NotRequired[AppComplianceStatusType]

Current status of compliance for the resiliency policy.

creation_time instance-attribute

creation_time: TimeStamp

Date and time when the application was created.

description instance-attribute

description: NotRequired[EntityDescription]

Optional description for an application.

drift_status instance-attribute

drift_status: NotRequired[AppDriftStatusType]

Indicates if compliance drifts (deviations) were detected while running an assessment for your application.

event_subscriptions instance-attribute

event_subscriptions: NotRequired[EventSubscriptionList]

The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports notifications only for Drift detected and Scheduled assessment failure events.

last_app_compliance_evaluation_time instance-attribute

last_app_compliance_evaluation_time: NotRequired[TimeStamp]

Date and time the most recent compliance evaluation.

last_drift_evaluation_time instance-attribute

last_drift_evaluation_time: NotRequired[TimeStamp]

Indicates the last time that a drift was evaluated.

last_resiliency_score_evaluation_time instance-attribute

last_resiliency_score_evaluation_time: NotRequired[TimeStamp]

Date and time the most recent resiliency score evaluation.

name instance-attribute

name: EntityName

Name for the application.

permission_model instance-attribute

permission_model: NotRequired[PermissionModel]

Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.

policy_arn instance-attribute

policy_arn: NotRequired[Arn]

Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

resiliency_score instance-attribute

resiliency_score: Double

Current resiliency score for the application.

rpo_in_secs instance-attribute

rpo_in_secs: NotRequired[IntegerOptional]

Recovery Point Objective (RPO) in seconds.

rto_in_secs instance-attribute

rto_in_secs: NotRequired[IntegerOptional]

Recovery Time Objective (RTO) in seconds.

status instance-attribute

status: NotRequired[AppStatusType]

Status of the application.

tags instance-attribute

tags: NotRequired[TagMap]

Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.