interface RulesConfigurationTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnIdentityPoolRoleAttachment_RulesConfigurationTypeProperty |
Java | software.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty |
Python | aws_cdk.aws_cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty |
TypeScript | aws-cdk-lib » aws_cognito » CfnIdentityPoolRoleAttachment » RulesConfigurationTypeProperty |
RulesConfigurationType is a subproperty of the RoleMapping property that defines the rules to be used for mapping users to roles.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const rulesConfigurationTypeProperty: cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty = {
rules: [{
claim: 'claim',
matchType: 'matchType',
roleArn: 'roleArn',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| rules | IResolvable | (IResolvable | Mapping)[] | The rules. |
rules
Type:
IResolvable | (IResolvable | Mapping)[]
The rules.
You can specify up to 25 rules per identity provider.

.NET
Go
Java
Python
TypeScript