Represents a policy defining the rules for accessing a specific type of resource.
Adds a rule to allow the specified actions if the condition is met.
Adds a rule to allow all actions if the condition is met.
Returns a boolean indicating whether the principal is allowed to perform all the specified actions against the resource.
Adds a rule to always allow the specified actions, immaterial of the principal accessing the resource.
Adds a rule to deny the specified actions if the condition is met.
Adds a rule to deny all actions if the condition is met.
Creates a derived role definition based on the condition provided.