-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(cognito): user pool domain #7224
Conversation
Support for user pool domains in the Cognito module. Domains can be explicitly configured for either custom domain or Cognito hosted prefix domains.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Turning this into "changes requested" for completeness, though most changes are under advisement :)
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Swap stepfunction dependency with a custom implementation using `CfnResource`. Motivation Construct libraries such as dynamodb and eks depend on this module to implement its features. However, at the same time, this module depends on lambda and stepfunctions construct libraries for its implementation. This creates dependency cycles. A simple example - to implement the dynamodb stepfunction task, the `aws-stepfunctions-tasks` module needs to depend on `aws-dynamodb`. However, this creates a cycle such as stepfunctions-tasks → dynamodb → custom-resources → stepfunctions-tasks. Another instance is to pre-empt the dependency cycle that will be introduced by #7224. This will create the cycle - batch → ecs → route53-targets → cognito → custom-resources → stepfunctions-tasks → batch. Conceptually, custom-resources should sit at the bottom of the construct library stack, taking dependencies on very few foundational CDK libraries.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Provisionally okay.
/** | ||
* The type of user pool domain. Two types are currently supported - custom domain and cognito domain. | ||
*/ | ||
export class UserPoolDomainType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Name is a little long for my tastes.
I don't know man. Maybe it was fine the first time, with 3 optional fields and some runtime validation. It feels like a pretty complicated dance right now very very little benefit right now.
Do with that as you will, I don't feel super strongly.
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Commit Message
feat(cognito): user pool domain (#7224)
Support for user pool domains in the Cognito module.
Domains can be explicitly configured for either custom domain or Cognito
hosted prefix domains.
Added 'cloudFrontDomainName' property that gets the CloudFront domain
name by calling
DescribeUserPoolDomain
API via a custom resource.closes #6787.
End Commit Message
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license