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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb

Overview

Note:

When making an API call, you may pass RulesConfigurationType data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#rulesArray<Types::MappingRule>

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.

Returns:



1023
1024
1025
1026
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 1023

class RulesConfigurationType < Struct.new(
  :rules)
  include Aws::Structure
end