Skip to content

CloudFormationClient.test_type

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Tests a registered extension to make sure it meets all necessary requirements for being published in the CloudFormation registry. For resource types, this includes passing all contracts tests defined for the type. For modules, this includes determining if the module's model meets all necessary requirements. For more information, see Testing your public extension before publishing in the...

Install and imports

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

Signature

async def test_type(
    *,
    arn: str | None = None,
    type: ThirdPartyType | None = None,
    type_name: str | None = None,
    version_id: str | None = None,
    log_delivery_bucket: str | None = None,
) -> TestTypeOutput: ...

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)
arn No The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn , or TypeName and Type .
type No The type of the extension to test. Conditional: You must specify Arn , or TypeName and Type .
type_name No The name of the extension to test. Conditional: You must specify Arn , or TypeName and Type .
version_id No The version of the extension to test. You can specify the version id with either Arn , or with TypeName and Type . If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.
log_delivery_bucket No The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of PASSED or FAILED . The user calling TestType must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions: GetObject PutObject For...

Output

TestTypeOutput.

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

TestTypeOutput, ThirdPartyType

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