Skip to content

CloudFormationClient.activate_type

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Activates a public third-party extension, such as a resource or module, to make it available for use in stack templates in your current account and Region. It can also create CloudFormation Hooks, which allow you to evaluate resource configurations before CloudFormation provisions them. Hooks integrate with both CloudFormation and Cloud Control API operations. After you activate an extension,...

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    ActivateTypeOutput,
    LoggingConfig,
    ThirdPartyType,
    VersionBump,
)

Signature

async def activate_type(
    *,
    type: ThirdPartyType | None = None,
    public_type_arn: str | None = None,
    publisher_id: str | None = None,
    type_name: str | None = None,
    type_name_alias: str | None = None,
    auto_update: bool | None = None,
    logging_config: LoggingConfig | None = None,
    execution_role_arn: str | None = None,
    version_bump: VersionBump | None = None,
    major_version: int | None = None,
) -> ActivateTypeOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
type No The extension type. Conditional: You must specify PublicTypeArn , or TypeName , Type , and PublisherId .
public_type_arn No The Amazon Resource Name (ARN) of the public extension. Conditional: You must specify PublicTypeArn , or TypeName , Type , and PublisherId .
publisher_id No The ID of the extension publisher. Conditional: You must specify PublicTypeArn , or TypeName , Type , and PublisherId .
type_name No The name of the extension. Conditional: You must specify PublicTypeArn , or TypeName , Type , and PublisherId .
type_name_alias No An alias to assign to the public extension in this account and Region. If you specify an alias for the extension, CloudFormation treats the alias as the extension type name within this account and Region. You must use the alias to refer to the extension in your templates, API calls, and CloudFormation console. An extension alias must be unique within a given account and Region. You can...
auto_update No Whether to automatically update the extension in this account and Region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. The default is true .
logging_config No Contains logging configuration information for an extension.
execution_role_arn No The name of the IAM execution role to use to activate the extension.
version_bump No Manually updates a previously-activated type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdate . MAJOR : CloudFormation updates the extension to the newest major version, if one is available. MINOR : CloudFormation updates the extension to the newest minor version, if one is available.
major_version No The major version of this extension you want to activate, if multiple major versions are available. The default is the latest major version. CloudFormation uses the latest available minor version of the major version selected. You can specify MajorVersion or VersionBump , but not both.

Output

ActivateTypeOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
arn str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

ActivateTypeOutput, LoggingConfig, ThirdPartyType, VersionBump

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cloudformation.exceptions:

CFNRegistryError, TypeNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model