Skip to content

Deactivate Type

cloudformation_deactivate_type R Documentation

Deactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it

Description

Deactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it.

Deactivating an extension deletes the configuration details that are associated with it. To temporarily disable a CloudFormation Hook instead, you can use set_type_configuration.

Once deactivated, an extension can't be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren't automatically updated if a new version of the extension is released.

To see which extensions are currently activated, use list_types.

Usage

cloudformation_deactivate_type(TypeName, Type, Arn)

Arguments

TypeName

The type name of the extension in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.

Conditional: You must specify either Arn, or TypeName and Type.

Type

The extension type.

Conditional: You must specify either Arn, or TypeName and Type.

Arn

The Amazon Resource Name (ARN) for the extension in this account and Region.

Conditional: You must specify either Arn, or TypeName and Type.

Value

An empty list.

Request syntax

svc$deactivate_type(
  TypeName = "string",
  Type = "RESOURCE"|"MODULE"|"HOOK",
  Arn = "string"
)