Interface EffectivePermissions.Permission
- All Known Implementing Classes:
EffectivePermissionsJson.PermissionJson
- Enclosing interface:
EffectivePermissions
public static interface EffectivePermissions.Permission
A single effective-permission entry: the caller may perform any of the
getActions()
on the referenced resources (or any except those referenced), optionally gated by a
Cedar getCondition() expression.-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getActions
-
getResources
EffectivePermissions.ResourceSelector getResources()- Returns:
- the resources (by ERN) the actions are scoped to, or
nullwhen unrestricted
-
getMetroCodes
EffectivePermissions.ResourceSelector getMetroCodes()- Returns:
- the metro codes the actions are scoped to, or
nullwhen unrestricted
-
getIbxIds
EffectivePermissions.ResourceSelector getIbxIds()- Returns:
- the IBX ids the actions are scoped to, or
nullwhen unrestricted
-
getCageIds
EffectivePermissions.ResourceSelector getCageIds()- Returns:
- the cage ids the actions are scoped to, or
nullwhen unrestricted
-
getCondition
String getCondition()- Returns:
- a Cedar policy-language expression that must be true for the actions to apply,
or
null
-