interface RulesConfigurationTypeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnIdentityPoolRoleAttachmentPropsMixin.RulesConfigurationTypeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnIdentityPoolRoleAttachmentPropsMixin_RulesConfigurationTypeProperty |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnIdentityPoolRoleAttachmentPropsMixin.RulesConfigurationTypeProperty |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnIdentityPoolRoleAttachmentPropsMixin.RulesConfigurationTypeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnIdentityPoolRoleAttachmentPropsMixin » 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 { mixins as cognito_mixins } from '@aws-cdk/mixins-preview/aws-cognito';
const rulesConfigurationTypeProperty: cognito_mixins.CfnIdentityPoolRoleAttachmentPropsMixin.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)[]
(optional)
The rules.
You can specify up to 25 rules per identity provider.

.NET
Go
Java
Python
TypeScript