1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
AWS Amplify currently cannot directly configure AWS WAF.
Therefore, as introduced on GitHub below, you need to create your own CloudFront to be placed in front of AWS Amplify and configure AWS WAF for CloudFront.
https://github.com/aws-samples/aws-cdk-amplify-with-waf
iam not able to see the distribution in cloudfront since is changing to global ,but all other distribution which is created directly on cloudfront console for bahrain region are listing,
By the way, CloudFront is a global resource, so it doesn't matter if it's in the Bahrain region.
Relevant content
- asked a year ago
- asked 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 22 days ago
thanks will look in to the repo,so the distribution that is created for aws amplify will not show in the distribution console of cloudfront
You need to create a CloudFront with Amplify as the origin from the management console. This means that you must use your own CloudFront rather than the one created by Amplify.