Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Canary

import type { Canary } from "https://aws-api.deno.dev/v0.4/services/synthetics.ts?docs=full";

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

interface Canary {
ArtifactConfig?: ArtifactConfigOutput | null;
ArtifactS3Location?: string | null;
Code?: CanaryCodeOutput | null;
EngineArn?: string | null;
ExecutionRoleArn?: string | null;
FailureRetentionPeriodInDays?: number | null;
Id?: string | null;
Name?: string | null;
RunConfig?: CanaryRunConfigOutput | null;
RuntimeVersion?: string | null;
Schedule?: CanaryScheduleOutput | null;
Status?: CanaryStatus | null;
SuccessRetentionPeriodInDays?: number | null;
Tags?: {
[key: string]: string | null | undefined;
}
| null;
Timeline?: CanaryTimeline | null;
VisualReference?: VisualReferenceOutput | null;
VpcConfig?: VpcConfigOutput | null;
}

§Properties

§
ArtifactConfig?: ArtifactConfigOutput | null
[src]

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

§
ArtifactS3Location?: string | null
[src]

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

§
EngineArn?: string | null
[src]

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.

§
ExecutionRoleArn?: string | null
[src]

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.

§
FailureRetentionPeriodInDays?: number | null
[src]

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

§
Id?: string | null
[src]

The unique ID of this canary.

§
Name?: string | null
[src]

The name of the canary.

§
RunConfig?: CanaryRunConfigOutput | null
[src]
§
RuntimeVersion?: string | null
[src]

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

§
Schedule?: CanaryScheduleOutput | null
[src]

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

§
Status?: CanaryStatus | null
[src]

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

§
SuccessRetentionPeriodInDays?: number | null
[src]

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

§
Tags?: {
[key: string]: string | null | undefined;
}
| null
[src]

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

§
Timeline?: CanaryTimeline | null
[src]

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

§
VisualReference?: VisualReferenceOutput | null
[src]

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.

§
VpcConfig?: VpcConfigOutput | null
[src]