-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
📊Tracking: Cognito #6765
Comments
Linking to the RFC for better discoverability: Also, for anyone who needs it in the interim, i've been posting my workaround code snippets in aws/aws-cdk-rfcs#95 (comment) |
Added a new issue for Hosted UI customisations: #6953 |
Added new issue #7011 for custom attributes which are currently set to immutable |
Captured in #7112 References, Examples, Code Samples, etcCDK
Cognito
Policies
eg. {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1585721272022",
"Action": [
"cognito-idp:AdminDisableUser",
"cognito-idp:AdminEnableUser",
"cognito-idp:AdminGetUser"
],
"Effect": "Allow",
"Resource": "arn:aws:cognito-idp:${userPool.stack.region}:${userPool.stack.account}:userpool/${userPool.userPoolId}"
}
]
} import { UserPool } from '@aws-cdk/aws-cognito'
import { Effect, PolicyStatement } from '@aws-cdk/aws-iam'
// ..snip..
/**
* Lookup authentication UserPool
*/
const userPool = UserPool.fromUserPoolId(this, 'UserPool', userPoolId)
// ..snip..
fnHandler.addToRolePolicy(
new PolicyStatement({
effect: Effect.ALLOW,
actions: [
'cognito-idp:AdminGetUser',
'cognito-idp:AdminEnableUser',
'cognito-idp:AdminDisableUser',
// etc
],
resources: [
`arn:aws:cognito-idp:${userPool.stack.region}:${userPool.stack.account}:userpool/${userPool.userPoolId}`,
],
})
) |
@0xdevalias - please open a new issue for this request. Thanks! |
Added new issue for some UserPool attributes that are present on the Web Console (post deploy) but that I'm not able to reach via CDK (Java): #7245 |
…om CDK 1.26.0, but apparently there are a few rough corners to fix still according to CDK tracking issue aws/aws-cdk#6765
"Advanced security" is in issue #7405 (to be added on the summary above). |
This has been forked into two separate tracking issues - one tracking user pools and the other tracking identity pools. Please transfer your upvotes (👍) to the respective issues, so we know which one of the two you're interested in. |
Add your +1 👍 to help us prioritize high-level constructs for this service
Overview:
Amazon Cognito provides authentication, authorization, and user management for your web and mobile apps. Your users can sign in directly with a user name and password, or through a third party such as Facebook, Amazon, Google or Apple.
The two main components of Amazon Cognito are user pools and identity pools. User pools are user directories that provide sign-up and sign-in options for your app users. Identity pools enable you to grant your users access to other AWS services.
AWS Docs for User Pools
AWS Docs for Identity Pools
CDK API reference page
Maturity: Experimental
See the AWS Construct Library Module Lifecycle doc for more information about maturity levels.
Features & Support
User Pool
Identity Pool
See the CDK API Reference for more implementation details.
Issues
All open Cognito issues can be found here
This is a 📊Tracking Issue
The text was updated successfully, but these errors were encountered: