[][src]Struct rusoto_cognito_identity::MappingRule

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 Clone for MappingRule
[src]

Performs copy-assignment from source. Read more

impl Default for MappingRule
[src]

impl PartialEq<MappingRule> for MappingRule
[src]

impl Debug for MappingRule
[src]

impl Serialize for MappingRule
[src]

impl<'de> Deserialize<'de> for MappingRule
[src]

Auto Trait Implementations

impl Send for MappingRule

impl Sync for MappingRule

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T