derivedRole

fun derivedRole(role: String, condition: DerivedRoleCondition<Principal, Resource>)

Creates a derived role definition based on the condition provided.

Parameters

role

The name of the derived role.

condition

The condition which must be met for the derived role to be assigned to the principal when accessing the resource.