Interface CfnIdentityPoolRoleAttachment.IRulesConfigurationTypeProperty
RulesConfigurationType
is a subproperty of the RoleMapping property that defines the rules to be used for mapping users to roles.
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRulesConfigurationTypeProperty
Syntax (vb)
Public Interface IRulesConfigurationTypeProperty
Remarks
ExampleMetadata: fixture=_generated
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"
} }
};
Synopsis
Properties
Rules | The rules. |
Properties
Rules
The rules.
object Rules { get; }
Property Value
System.Object
Remarks
You can specify up to 25 rules per identity provider.