Action

Action class.

class Action

Actions are case insensitive.

“The prefix and the action name are case insensitive”

IAM JSON policy elements: Action

issubset(other)

Whether this object contains all the elements of another object (i.e. is a subset of the other object).

Parameters

other (object) – The object to determine if our object contains.

Raises

ValueError – If the other object is not of the same type as this object.

Return type

bool

class EffectiveAction(inclusion, exclusions=None)

EffectiveActions are the representation of the difference between an Action and its exclusion.

The allowed actions is the difference (subtraction) of the excluded Actions from the included action.

exclusions: FrozenSet[policyglass.effective_arp.T]

Exclusions must always be a subset of the include and must not be subsets of each other

inclusion: policyglass.effective_arp.T

Inclusion must be a superset of any exclusions