UNPKG

avp-cli

Version:

Small CLI to help interacts with the Amazon Verified Permissions (AVP) service.

48 lines (47 loc) 1.01 kB
{ "policyStoreId": "your-policy-store-id", "principal": { "entityType": "EcommerceStore::User", "entityId": "Daniel" }, "action": { "actionType": "EcommerceStore::Action", "actionId": "Edit" }, "resource": { "entityType": "EcommerceStore::Order", "entityId": "12345" }, "entities": { "entityList": [ { "identifier": { "entityType": "EcommerceStore::User", "entityId": "Daniel" }, "attributes": {}, "parents": [ { "entityType": "EcommerceStore::Role", "entityId": "customer" } ] }, { "identifier": { "entityType": "EcommerceStore::Order", "entityId": "12345" }, "attributes": { "status": { "string": "paid" } }, "parents": [] } ] }, "context": { "contextMap": {} } }