allow

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

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

Parameters

actions

The actions to allow.

condition

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