CanaryCodeOutput
¶
Source code in docs_src/capo_synthetics/types/canary_code_output.py
blueprint_types
instance-attribute
¶
blueprint_types: NotRequired[BlueprintTypes]
BlueprintTypes is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is multi-checks.
Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.
BlueprintTypes is supported only on canaries for syn-nodejs-3.0 runtime or later.
dependencies
instance-attribute
¶
dependencies: NotRequired[Dependencies]
A list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference.