CanaryCodeOutput
This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.
Contents
- 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.
Type: Array of Dependency objects
Array Members: Minimum number of 0 items. Maximum number of 1 item.
Required: No
- Handler
-
The entry point to use for the source code when running the canary.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- SourceLocationArn
-
The ARN of the Lambda layer where Synthetics stores the canary script code.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: