-
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
aws_cognito: configure SnsRegion for SMS messages #19434
Comments
The UserPool construct will put together the configuration for you - see our Readme for details, or if you're curious, our source code
According to Cognito docs, this is normal
This is the part that the CDK doesn't directly support - since the SnsConfiguration method doesn't ever return an However, you can add overrides to the template the CDK synthesizes. You'll be able to access the underlying Relabelling as a feature request for SnsConfiguration method to support setting SnsRegion directly |
fixes #19434 updated integ test domain value, because old value was [failing deployment](aws-samples/aws-cdk-examples#402) ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [x] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
) fixes aws#19434 updated integ test domain value, because old value was [failing deployment](aws-samples/aws-cdk-examples#402) ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/master/INTEGRATION_TESTS.md)? * [x] Did you use `cdk-integ` to deploy the infrastructure and generate the snapshot (i.e. `cdk-integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
General Issue
aws_cognito.UserPool doesn't have an option to configure SMS
The Question
According to https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html
AWS::Cognito::UserPool has a parameter SmsConfiguration. But it is not available in aws_cognito.UserPool https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_cognito/UserPool.html
Moreover, although I create the user pool in Frankfurt region, the user pool is by default trying to send MFA messages through SNS in Ireland region.
CDK CLI Version
2.15.0
Framework Version
No response
Node.js Version
No response
OS
No response
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: