CloudFormation.Client.
deactivate_type
(**kwargs)¶Deactivates a public extension that was previously activated in this account and region.
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.
See also: AWS API Documentation
Request Syntax
response = client.deactivate_type(
TypeName='string',
Type='RESOURCE'|'MODULE'|'HOOK',
Arn='string'
)
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
.
The extension type.
Conditional: You must specify either Arn
, or TypeName
and Type
.
The Amazon Resource Name (ARN) for the extension, in this account and region.
Conditional: You must specify either Arn
, or TypeName
and Type
.
dict
Response Syntax
{}
Response Structure
Exceptions
CloudFormation.Client.exceptions.CFNRegistryException
CloudFormation.Client.exceptions.TypeNotFoundException