deny

fun deny(vararg actions: ResourceAction<Resource>, condition: RuleCondition<Principal, Resource>)

Adds a rule to deny the specified actions if the condition is met.

Parameters

actions

The actions to deny.

condition

The condition which must be met for the actions to be denied.