Skip to content

CloudFormationClient.register_type

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Registers an extension with the CloudFormation service. Registering an extension makes it available for use in CloudFormation templates in your Amazon Web Services account, and includes: Validating the extension schema. Determining which handlers, if any, have been specified for the extension. Making the extension available for use in your account. For more information about how to develop...

Install and imports

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

Signature

async def register_type(
    *,
    type_name: str,
    schema_handler_package: str,
    type: RegistryType | None = None,
    logging_config: LoggingConfig | None = None,
    execution_role_arn: str | None = None,
    client_request_token: str | None = None,
) -> RegisterTypeOutput: ...

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_name Yes The name of the extension being registered. We suggest that extension names adhere to the following patterns: For resource types, company_or_organization::service::type . For modules, company_or_organization::service::type::MODULE . For Hooks, MyCompany::Testing::MyTestHook . The following organization namespaces are reserved and can't be used in your extension names: Alexa AMZN Amazon AWS...
schema_handler_package Yes A URL to the S3 bucket that contains the extension project package that contains the necessary files for the extension you want to register. For information about generating a schema handler package for the extension you want to register, see submit in the CloudFormation Command Line Interface (CLI) User Guide . The user registering the extension must be able to access the package in the S3...
type No The kind of extension.
logging_config No Specifies logging configuration information for an extension.
execution_role_arn No The Amazon Resource Name (ARN) of the IAM role for CloudFormation to assume when invoking the extension. For CloudFormation to assume the specified execution role, the role must contain a trust relationship with the CloudFormation service principal ( resources.cloudformation.amazonaws.com ). For more information about adding trust relationships, see Modifying a role trust policy in the...
client_request_token No A unique identifier that acts as an idempotency key for this registration request. Specifying a client request token prevents CloudFormation from generating more than one version of an extension from the same registration request, even if the request is submitted multiple times.

Output

RegisterTypeOutput.

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
registration_token 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.

LoggingConfig, RegisterTypeOutput, RegistryType

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.

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

Service guide · Pinned model