Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MappingRule

import type { MappingRule } from "https://aws-api.deno.dev/v0.3/services/cognitoidentity.ts?docs=full";

A rule that maps a claim name, a claim value, and a match type to a role ARN.

interface MappingRule {
Claim: string;
RoleARN: string;
Value: string;
}

§Properties

§
Claim: string
[src]

The claim name that must be present in the token, for example, "isAdmin" or "paid".

§

The match condition that specifies how closely the claim value in the IdP token must match Value.

§
RoleARN: string
[src]

The role ARN.

§
Value: string
[src]

A brief string that the claim must match, for example, "paid" or "yes".