Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Testing a custom Hook for public use

Focus mode
Testing a custom Hook for public use - AWS CloudFormation

In order to publish your registered custom Hook, it must pass all test requirements defined for it. The following is a list of requirements needed before publishing your custom Hook as a third-party extension.

Each handler and target is tested twice. Once for SUCCESS and once for FAILED.

  • For SUCCESS response case:

    • Status must be SUCCESS.

    • Must not return an error code.

    • Callback delay should be set to 0 seconds, if specified.

  • For FAILED response case:

    • Status must be FAILED.

    • Must return an error code.

    • Must have a message in response.

    • Callback delay should be set to 0 seconds, if specified.

  • For IN_PROGRESS response case:

    • Must not return an error code.

    • Result field must not be set in response.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.