Constraint

Constraint
Constraint

A constraint that is conveyed to the policy engine.

JSON Example
{
    "mandatory": false,
    "expression": "ha:strong"
}
boolean
mandatory
Required

Indicates whether this constraint should be strictly enforced or not.

string
expression
Required

An expression of the form "[!]tag-key[:[tag-value]]", used to indicate a constraint match on keys and values of tags.