aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty

interface RulesConfigurationTypeProperty

LanguageType name
.NETAmazon.CDK.AWS.Cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscognito#CfnIdentityPoolRoleAttachment_RulesConfigurationTypeProperty
Javasoftware.amazon.awscdk.services.cognito.CfnIdentityPoolRoleAttachment.RulesConfigurationTypeProperty
Pythonaws_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

NameTypeDescription
rulesIResolvable | IResolvable | MappingRuleProperty[]The rules.

rules

Type: IResolvable | IResolvable | MappingRuleProperty[]

The rules.

You can specify up to 25 rules per identity provider.