Skip to content

LifecycleEvent

Source code in docs_src/capo_codedeploy/types/lifecycle_event.py
class LifecycleEvent(TypedDict, closed=True):
    lifecycle_event_name: NotRequired[
        "capo_codedeploy.types.lifecycle_event_name.LifecycleEventName"
    ]
    """<p>The deployment lifecycle event name, such as <code>ApplicationStop</code>, <code>BeforeInstall</code>, <code>AfterInstall</code>, <code>ApplicationStart</code>, or <code>ValidateService</code>.</p>"""
    diagnostics: NotRequired["capo_codedeploy.types.diagnostics.Diagnostics"]
    """<p>Diagnostic information about the deployment lifecycle event.</p>"""
    start_time: NotRequired["capo_codedeploy.types.timestamp.Timestamp"]
    """<p>A timestamp that indicates when the deployment lifecycle event started.</p>"""
    end_time: NotRequired["capo_codedeploy.types.timestamp.Timestamp"]
    """<p>A timestamp that indicates when the deployment lifecycle event ended.</p>"""
    status: NotRequired[
        "capo_codedeploy.types.lifecycle_event_status.LifecycleEventStatus"
    ]
    """<p>The deployment lifecycle event status:</p> <ul> <li> <p>Pending: The deployment lifecycle event is pending.</p> </li> <li> <p>InProgress: The deployment lifecycle event is in progress.</p> </li> <li> <p>Succeeded: The deployment lifecycle event ran successfully.</p> </li> <li> <p>Failed: The deployment lifecycle event has failed.</p> </li> <li> <p>Skipped: The deployment lifecycle event has been skipped.</p> </li> <li> <p>Unknown: The deployment lifecycle event is unknown.</p> </li> </ul>"""

diagnostics instance-attribute

diagnostics: NotRequired[Diagnostics]

Diagnostic information about the deployment lifecycle event.

end_time instance-attribute

end_time: NotRequired[Timestamp]

A timestamp that indicates when the deployment lifecycle event ended.

lifecycle_event_name instance-attribute

lifecycle_event_name: NotRequired[LifecycleEventName]

The deployment lifecycle event name, such as ApplicationStop, BeforeInstall, AfterInstall, ApplicationStart, or ValidateService.

start_time instance-attribute

start_time: NotRequired[Timestamp]

A timestamp that indicates when the deployment lifecycle event started.

status instance-attribute

status: NotRequired[LifecycleEventStatus]

The deployment lifecycle event status:

  • Pending: The deployment lifecycle event is pending.

  • InProgress: The deployment lifecycle event is in progress.

  • Succeeded: The deployment lifecycle event ran successfully.

  • Failed: The deployment lifecycle event has failed.

  • Skipped: The deployment lifecycle event has been skipped.

  • Unknown: The deployment lifecycle event is unknown.