You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentity::Types::RulesConfigurationType

  • Object
show all
Defined in:



When passing RulesConfigurationType as input to an Aws::Client method, you can use a vanilla Hash:

  rules: [ # required
      claim: "ClaimName", # required
      match_type: "Equals", # required, accepts Equals, Contains, StartsWith, NotEqual
      value: "ClaimValue", # required
      role_arn: "ARNString", # required

A container for rules.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


An array of rules. You can specify up to 25 rules per identity provider.

Rules are evaluated in order. The first one to match specifies the role.