Struct rusoto_cognito_identity::MappingRule[][src]

pub struct MappingRule {
    pub claim: String,
    pub match_type: String,
    pub role_arn: String,
    pub value: String,
}

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

Fields

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.

The role ARN.

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

Trait Implementations

impl Default for MappingRule
[src]

Returns the "default value" for a type. Read more

impl Debug for MappingRule
[src]

Formats the value using the given formatter. Read more

impl Clone for MappingRule
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for MappingRule
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for MappingRule

impl Sync for MappingRule