import { ResourceBase, ResourceTag } from '../resource'; import { Value, List } from '../dataTypes'; export declare class ArtifactConfig { S3Encryption?: S3Encryption; constructor(properties: ArtifactConfig); } export declare class BaseScreenshot { IgnoreCoordinates?: List>; ScreenshotName: Value; constructor(properties: BaseScreenshot); } export declare class Code { Script?: Value; S3ObjectVersion?: Value; S3Bucket?: Value; S3Key?: Value; Handler: Value; SourceLocationArn?: Value; constructor(properties: Code); } export declare class RunConfig { TimeoutInSeconds?: Value; EnvironmentVariables?: { [key: string]: Value; }; MemoryInMB?: Value; ActiveTracing?: Value; constructor(properties: RunConfig); } export declare class S3Encryption { KmsKeyArn?: Value; EncryptionMode?: Value; constructor(properties: S3Encryption); } export declare class Schedule { DurationInSeconds?: Value; Expression: Value; constructor(properties: Schedule); } export declare class VPCConfig { VpcId?: Value; SubnetIds: List>; SecurityGroupIds: List>; constructor(properties: VPCConfig); } export declare class VisualReference { BaseScreenshots?: List; BaseCanaryRunId: Value; constructor(properties: VisualReference); } export interface CanaryProperties { VisualReference?: VisualReference; ArtifactConfig?: ArtifactConfig; SuccessRetentionPeriod?: Value; RuntimeVersion: Value; VPCConfig?: VPCConfig; RunConfig?: RunConfig; FailureRetentionPeriod?: Value; Code: Code; Name: Value; ExecutionRoleArn: Value; Schedule: Schedule; ArtifactS3Location: Value; Tags?: List; StartCanaryAfterCreation?: Value; } export default class Canary extends ResourceBase { static ArtifactConfig: typeof ArtifactConfig; static BaseScreenshot: typeof BaseScreenshot; static Code: typeof Code; static RunConfig: typeof RunConfig; static S3Encryption: typeof S3Encryption; static Schedule: typeof Schedule; static VPCConfig: typeof VPCConfig; static VisualReference: typeof VisualReference; constructor(properties: CanaryProperties); }