Skip to main content

PolicyRuleLhsRhsValueCollection Schema

Data structure for Policy Rule Lhs Rhs Value Collection objects.

Item Type​

This is a collection (list) of PolicyRuleLhsRhsValue items.

Usage​

# Example: Working with PolicyRuleLhsRhsValueCollection
items = [
{"lhs":"lhs-value-1","rhs":"rhs-value-1"},
{"lhs":"lhs-value-2","rhs":"rhs-value-2"}
]

# Pass to an action that requires this collection type
resource.some_action(body=items)

JSON Example​

[
{
"lhs": "lhs-value-1",
"rhs": "rhs-value-1"
},
{
"lhs": "lhs-value-2",
"rhs": "rhs-value-2"
}
]