Interface CfnIdentityPoolRoleAttachment.IRulesConfigurationTypeProperty
RulesConfigurationType
is a subproperty of the RoleMapping property that defines the rules to be used for mapping users to roles.
public interface CfnIdentityPoolRoleAttachment.IRulesConfigurationTypeProperty
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
Properties
Rules
The rules.
object Rules { get; }
Property Value
Remarks
You can specify up to 25 rules per identity provider.