AWS amplify documentation change
Summary
Rewrote webhook documentation to focus on creating incoming webhooks with detailed implementation steps, removing references to unified webhooks
Security assessment
Procedural documentation update about webhook creation without any security considerations or authentication mechanisms mentioned
Diff
diff --git a/amplify/latest/userguide/webhooks.md b/Users/docs/2025-03-10_15-36-52/amplify/latest/userguide/webhooks.md index 533683ca1..06266289e 100644 --- a/amplify/latest/userguide/webhooks.md +++ b/amplify/latest/userguide/webhooks.md @@ -5 +5 @@ -# Using webhooks with Amplify applications +# Creating an incoming webhook to start a build @@ -7 +7 @@ -Amplify Hosting uses webhooks to automatically initiate a build after a new commit to your Git repository. Amplify uses one unified webhook for all applications associated with a single repository. This ensures that the Amplify apps associated with the repository receive updates and triggers, without being limited by your Git provider's webhook restrictions. To learn more about the unified webhooks feature, see [Unified webhooks for Git repositories](./unified-webhooks.html). +Set up an incoming webhook in the Amplify console to start a build without committing code to your Git repository. You can use webhooks with headless CMS tools (such as Contentful or GraphCMS) to start a build whenever content changes, or to perform daily builds using services such as Zapier. @@ -9 +9 @@ Amplify Hosting uses webhooks to automatically initiate a build after a new comm -You can also intiate a build without a commit to your Git repository by creating an incoming webhook that you provide to a headless CMS tool, such as Contentful or GraphCMS, or a service such as Zapier. For instructions, see [Creating an incoming webhook to start a build](./create-incoming-webhook.html). +###### To create an incoming webhook @@ -11 +11 @@ You can also intiate a build without a commit to your Git repository by creating -###### Topics + 1. Sign in to the AWS Management Console and open the [Amplify console](https://console.aws.amazon.com/amplify/). @@ -13 +13 @@ You can also intiate a build without a commit to your Git repository by creating - * [Unified webhooks for Git repositories](./unified-webhooks.html) + 2. Choose the app that you want to create a webhook for. @@ -15 +15,17 @@ You can also intiate a build without a commit to your Git repository by creating - * [Creating an incoming webhook to start a build](./create-incoming-webhook.html) + 3. In the navigation pane, choose **Hosting** , then **Build settings**. + + 4. On the **Build settings** page, scroll down to the **Incoming webhooks** section and choose **Create webhook**. + + 5. In the **Create webhook** dialog box, do the following: + + 1. For **Webhook name** enter a name for the webhook. + + 2. For **Branch to build** , select the branch to build on incoming webhook requests. + + 3. Choose **Create webhook**. + + 6. In the **Incoming webhooks** section, do one of the following: + + * Copy the webhook URL and provide it to a headless CMS tool or other service to initiate builds. + + * Run the curl command in a terminal window to start a new build. @@ -28 +44 @@ Monorepo custom headers -Unified webhooks for Git repositories +Monitoring applications