UNPKG

avp-cli

Version:

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

20 lines (19 loc) 448 B
{ "policyStoreId": "your-policy-store-id", "identityToken": "your-identity-token", "action": { "actionType": "MyEcommerceApp::Action", "actionId": "Discount" }, "resource": { "entityType": "MyEcommerceApp::Resource", "entityId": "Product" }, "context": { "contextMap": { "custom.discountPrivilege": { "string": "agreed" } } } }