Deregister third-party private extensions you previously registered in your account
To remove a third-party private extension or extension version, use the deregister-type command.
You can deregister a specific extension version, or the extension as a whole. To deregister an extension, you must individually deregister all registered versions of that extension. If an extension has only a single registered version, deregistering that version results in the extension itself being deregistered. You can't deregister the default version of an extension, unless it's the only registered version of that extension, in which case the extension itself is deregistered as well.
The following example deregisters an extension. Replace the sample values for
--type
and --type-name
.
aws cloudformation deregister-type --type
MODULE
\ --type-nameMy::S3::SampleBucket::MODULE
\ --regionus-west-2
To deregister a specific version of your extension, specify the
--version-id
option in the command.