RoleMapping

A role mapping.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If you specify Token or Rules as the Type, AmbiguousRoleResolution is required.

Link copied to clipboard

The rules to be used for mapping users to roles.

Link copied to clipboard

The role mapping type. Token will use cognito:roles and cognito:preferred_role claims from the Cognito identity provider token to map groups to roles. Rules will attempt to match claims from the token to map to a role.

Functions

Link copied to clipboard
inline fun copy(block: RoleMapping.Builder.() -> Unit = {}): RoleMapping
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String