Constraint

Constraint
Constraint

A constraint that is conveyed to the policy engine.

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

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

boolean
mandatory
Required

Indicates whether this constraint should be strictly enforced or not.