Skip to content

FailureConditions

Source code in docs_src/capo_codepipeline/types/failure_conditions.py
class FailureConditions(TypedDict, closed=True):
    result: NotRequired["capo_codepipeline.types.result.Result"]
    """<p>The specified result for when the failure conditions are met, such as rolling back the stage.</p>"""
    retry_configuration: NotRequired[
        "capo_codepipeline.types.retry_configuration.RetryConfiguration"
    ]
    """<p>The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.</p>"""
    conditions: NotRequired["capo_codepipeline.types.condition_list.ConditionList"]
    """<p>The conditions that are configured as failure conditions. For more information about conditions, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/stage-conditions.html">Stage conditions</a> and <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/concepts-how-it-works-conditions.html">How do stage conditions work?</a>.</p>"""

conditions instance-attribute

conditions: NotRequired[ConditionList]

The conditions that are configured as failure conditions. For more information about conditions, see Stage conditions and How do stage conditions work?.

result instance-attribute

result: NotRequired[Result]

The specified result for when the failure conditions are met, such as rolling back the stage.

retry_configuration instance-attribute

retry_configuration: NotRequired[RetryConfiguration]

The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.