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
claim: String
The claim name that must be present in the token, for example, "isAdmin" or "paid".
match_type: String
The match condition that specifies how closely the claim value in the IdP token must match Value
.
role_arn: String
The role ARN.
value: String
A brief string that the claim must match, for example, "paid" or "yes".
Trait Implementations
impl Default for MappingRule
[src]
fn default() -> MappingRule
[src]
Returns the "default value" for a type. Read more
impl Debug for MappingRule
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for MappingRule
[src]
fn clone(&self) -> MappingRule
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more