Deactivate third-party public extensions in your account - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Deactivate third-party public extensions in your account

When you no longer need an activated third-party public extension, use the following procedures to deactivate it in your account.

Deactivate a public extension in your account (console)

To deactivate a public extension in your account
  1. Sign in to the Amazon Web Services Management Console and open the Amazon CloudFormation console at https://console.amazonaws.cn/cloudformation.

  2. On the navigation bar at the top of the screen, choose your Amazon Web Services Region.

  3. From the navigation pane, under Registry, choose Activated extensions.

  4. Find the extension you want to deactivate and select it. For more information, see View the available and activated extensions in the CloudFormation registry.

  5. From the Actions menu, choose Deactivate.

  6. Choose Deactivate.

Deactivate a public extension in your account (Amazon CLI)

Use the following deactivate-type command.

aws cloudformation deactivate-type --type MODULE \ --type-name Example::Test::Type::MODULE \ --region us-west-2

Disable a Hook in your account (Amazon CLI)

Disabling a Hook prevents the Hook from running in your Amazon Web Services account without removing it.

Use the set-type-configuration command and specify HookInvocationStatus as DISABLED to disable a Hook.

The following example specifies the Amazon Web Services Region and the Amazon Resource Name (ARN) of the Hook that's being disabled.

aws cloudformation set-type-configuration \ --configuration "{"CloudFormationConfiguration":{"HookConfiguration":{"HookInvocationStatus": "DISABLED", "FailureMode": "FAIL", "Properties":{}}}}" \ --type-arn "arn:aws:cloudformation:us-west-2:123456789012:type/hook/MyTestHook" --region us-west-2

For more information, see Disable and enable Amazon CloudFormation Hooks in the Amazon CloudFormation Hooks User Guide.