Skip to content

Condition

Source code in docs_src/capo_backup/types/condition.py
class Condition(TypedDict, closed=True):
    condition_type: "capo_backup.types.condition_type.ConditionType"
    """<p>An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports <code>StringEquals</code>. For more flexible assignment options, including <code>StringLike</code> and the ability to exclude resources from your backup plan, use <code>Conditions</code> (with an "s" on the end) for your <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/API_BackupSelection.html"> <code>BackupSelection</code> </a>.</p>"""
    condition_key: "capo_backup.types.condition_key.ConditionKey"
    """<p>The key in a key-value pair. For example, in the tag <code>Department: Accounting</code>, <code>Department</code> is the key.</p>"""
    condition_value: "capo_backup.types.condition_value.ConditionValue"
    """<p>The value in a key-value pair. For example, in the tag <code>Department: Accounting</code>, <code>Accounting</code> is the value.</p>"""

condition_key instance-attribute

condition_key: ConditionKey

The key in a key-value pair. For example, in the tag Department: Accounting, Department is the key.

condition_type instance-attribute

condition_type: ConditionType

An operation applied to a key-value pair used to assign resources to your backup plan. Condition only supports StringEquals. For more flexible assignment options, including StringLike and the ability to exclude resources from your backup plan, use Conditions (with an "s" on the end) for your BackupSelection .

condition_value instance-attribute

condition_value: ConditionValue

The value in a key-value pair. For example, in the tag Department: Accounting, Accounting is the value.