interface CfnIdentityPoolRoleAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Cognito.Mixins.CfnIdentityPoolRoleAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscognito/mixins#CfnIdentityPoolRoleAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.cognito.mixins.CfnIdentityPoolRoleAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_cognito.mixins.CfnIdentityPoolRoleAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_cognito » mixins » CfnIdentityPoolRoleAttachmentMixinProps |
Properties for CfnIdentityPoolRoleAttachmentPropsMixin.
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';
declare const roles: any;
const cfnIdentityPoolRoleAttachmentMixinProps: cognito_mixins.CfnIdentityPoolRoleAttachmentMixinProps = {
identityPoolId: 'identityPoolId',
roleMappings: {
roleMappingsKey: {
ambiguousRoleResolution: 'ambiguousRoleResolution',
identityProvider: 'identityProvider',
rulesConfiguration: {
rules: [{
claim: 'claim',
matchType: 'matchType',
roleArn: 'roleArn',
value: 'value',
}],
},
type: 'type',
},
},
roles: roles,
};
Properties
| Name | Type | Description |
|---|---|---|
| identity | string | An identity pool ID in the format REGION:GUID . |
| role | IResolvable | { [string]: IResolvable | Role } | How users for a specific identity provider are mapped to roles. |
| roles? | any | The map of the roles associated with this pool. |
identityPoolId?
Type:
string
(optional)
An identity pool ID in the format REGION:GUID .
roleMappings?
Type:
IResolvable | { [string]: IResolvable | Role }
(optional)
How users for a specific identity provider are mapped to roles.
This is a string to the RoleMapping object map. The string identifies the identity provider. For example: graph.facebook.com or cognito-idp.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id .
If the IdentityProvider field isn't provided in this object, the string is used as the identity provider name.
For more information, see the RoleMapping property .
roles?
Type:
any
(optional)
The map of the roles associated with this pool.
For a given role, the key is either "authenticated" or "unauthenticated". The value is the role ARN.

.NET
Go
Java
Python
TypeScript