Canary

class Canary

This structure contains all information about one canary in your account.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A structure that contains the configuration for canary artifacts, including the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3.

Link copied to clipboard

The location in Amazon S3 where Synthetics stores artifacts from the runs of this canary. Artifacts include the log file, screenshots, and HAR files.

Link copied to clipboard

This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.

Link copied to clipboard

Returns the dry run configurations for a canary.

Link copied to clipboard

The ARN of the Lambda function that is used as your canary's engine. For more information about Lambda ARN format, see Resources and Conditions for Lambda Actions.

Link copied to clipboard

The ARN of the IAM role used to run the canary. This role must include lambda.amazonaws.com as a principal in the trust policy.

Link copied to clipboard

The number of days to retain data about failed runs of this canary.

Link copied to clipboard
val id: String?

The unique ID of this canary.

Link copied to clipboard
val name: String?

The name of the canary.

Link copied to clipboard

Specifies whether to also delete the Lambda functions and layers used by this canary when the canary is deleted. If it is AUTOMATIC, the Lambda functions and layers will be deleted when the canary is deleted.

Link copied to clipboard

A structure that contains information about a canary run.

Link copied to clipboard

Specifies the runtime version to use for the canary. For more information about runtime versions, see Canary Runtime Versions.

Link copied to clipboard

A structure that contains information about how often the canary is to run, and when these runs are to stop.

Link copied to clipboard

A structure that contains information about the canary's status.

Link copied to clipboard

The number of days to retain data about successful runs of this canary.

Link copied to clipboard

The list of key-value pairs that are associated with the canary.

Link copied to clipboard

A structure that contains information about when the canary was created, modified, and most recently run.

Link copied to clipboard

If this canary performs visual monitoring by comparing screenshots, this structure contains the ID of the canary run to use as the baseline for screenshots, and the coordinates of any parts of the screen to ignore during the visual monitoring comparison.

Link copied to clipboard

If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.

Functions

Link copied to clipboard
inline fun copy(block: Canary.Builder.() -> Unit = {}): Canary
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String