Class CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty
RulesConfigurationType
is a subproperty of the RoleMapping property that defines the rules to be used for mapping users to roles.
public class CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty : CfnIdentityPoolRoleAttachment.IRulesConfigurationTypeProperty
- Inheritance
-
CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var rulesConfigurationTypeProperty = new RulesConfigurationTypeProperty {
Rules = new [] { new MappingRuleProperty {
Claim = "claim",
MatchType = "matchType",
RoleArn = "roleArn",
Value = "value"
} }
};
Remarks
ExampleMetadata: fixture=_generated
Constructors
RulesConfigurationTypeProperty()
public RulesConfigurationTypeProperty()
Properties
Rules
The rules.
public object Rules { get; set; }
Property Value
Remarks
You can specify up to 25 rules per identity provider.