TagCondition

class aws_cdk.aws_backup.TagCondition(*, key, value, operation=None)

Bases: object

(experimental) A tag condition.

Parameters
  • key (str) – (experimental) The key in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", ec2:ResourceTag/Department is the key.

  • value (str) – (experimental) The value in a key-value pair. For example, in "ec2:ResourceTag/Department": "accounting", accounting is the value.

  • operation (Optional[TagOperation]) – (experimental) An operation that is applied to a key-value pair used to filter resources in a selection. Default: STRING_EQUALS

Stability

experimental

Attributes

key

(experimental) The key in a key-value pair.

For example, in "ec2:ResourceTag/Department": "accounting", ec2:ResourceTag/Department is the key.

Stability

experimental

Return type

str

operation

(experimental) An operation that is applied to a key-value pair used to filter resources in a selection.

Default

STRING_EQUALS

Stability

experimental

Return type

Optional[TagOperation]

value

(experimental) The value in a key-value pair.

For example, in "ec2:ResourceTag/Department": "accounting", accounting is the value.

Stability

experimental

Return type

str