MappingRule

public struct MappingRule : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The claim name that must be present in the token, for example, “isAdmin” or “paid”.

    Declaration

    Swift

    public let claim: String
  • The match condition that specifies how closely the claim value in the IdP token must match Value.

    Declaration

    Swift

    public let matchType: MappingRuleMatchType
  • The role ARN.

    Declaration

    Swift

    public let roleARN: String
  • A brief string that the claim must match, for example, “paid” or “yes”.

    Declaration

    Swift

    public let value: String
  • Undocumented

    Declaration

    Swift

    public init(claim: String, matchType: MappingRuleMatchType, roleARN: String, value: String)
  • Declaration

    Swift

    public func validate(name: String) throws