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.

Constant Summary collapse

SENSITIVE =
[]

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:



1372
1373
1374
1375
1376
# File 'gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/types.rb', line 1372

class RulesConfigurationType < Struct.new(
  :rules)
  SENSITIVE = []
  include Aws::Structure
end