ConstraintTarget

ConstraintTarget
ConstraintTarget

Resource attribute on which constraint should be applied. Example - sourceGroups attribute of Edge CommunicationEntry to be restricted, is given as: { "target_resource_type":"CommunicationEntry", "attribute":"sourceGroups", "path_prefix":"/infra/domains/vmc-domain/edge-communication-maps/default/communication-entries" }

JSON Example
{
    "attribute": "string",
    "path_prefix": "string",
    "target_resource_type": "string"
}
string
attribute
Optional

Attribute name of the target entity.

string
path_prefix
Optional

Path prefix of the entity to apply constraint. This is required to further disambiguiate if multiple policy entities share the same resource type. Example - Edge FW and DFW use the same resource type CommunicationMap, CommunicationEntry, Group, etc.

string
target_resource_type
Required

Resource type of the target entity.