function _aws_cdk_aws_synthetics_Test(p) { } function _aws_cdk_aws_synthetics_CustomTestOptions(p) { if (p == null) return; visitedObjects.add(p); try { if (!visitedObjects.has(p.code)) _aws_cdk_aws_synthetics_Code(p.code); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_synthetics_ArtifactsBucketLocation(p) { } function _aws_cdk_aws_synthetics_CanaryProps(p) { if (p == null) return; visitedObjects.add(p); try { if (!visitedObjects.has(p.runtime)) _aws_cdk_aws_synthetics_Runtime(p.runtime); if (!visitedObjects.has(p.test)) _aws_cdk_aws_synthetics_Test(p.test); if (!visitedObjects.has(p.artifactsBucketLocation)) _aws_cdk_aws_synthetics_ArtifactsBucketLocation(p.artifactsBucketLocation); if (!visitedObjects.has(p.schedule)) _aws_cdk_aws_synthetics_Schedule(p.schedule); if (p.securityGroups != null) for (const o of p.securityGroups) if (!visitedObjects.has(o)) require("@aws-cdk/aws-ec2/.warnings.jsii.js")._aws_cdk_aws_ec2_ISecurityGroup(o); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_synthetics_Canary(p) { } function _aws_cdk_aws_synthetics_Code(p) { } function _aws_cdk_aws_synthetics_CodeConfig(p) { } function _aws_cdk_aws_synthetics_AssetCode(p) { } function _aws_cdk_aws_synthetics_InlineCode(p) { } function _aws_cdk_aws_synthetics_S3Code(p) { } function _aws_cdk_aws_synthetics_RuntimeFamily(p) { } function _aws_cdk_aws_synthetics_Runtime(p) { } function _aws_cdk_aws_synthetics_Schedule(p) { } function _aws_cdk_aws_synthetics_CronOptions(p) { } function _aws_cdk_aws_synthetics_CfnCanaryProps(p) { if (p == null) return; visitedObjects.add(p); try { if (!visitedObjects.has(p.code)) _aws_cdk_aws_synthetics_CfnCanary_CodeProperty(p.code); if (p.tags != null) for (const o of p.tags) if (!visitedObjects.has(o)) require("@aws-cdk/core/.warnings.jsii.js")._aws_cdk_core_CfnTag(o); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_synthetics_CfnCanary(p) { } function _aws_cdk_aws_synthetics_CfnCanary_ArtifactConfigProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_BaseScreenshotProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_CodeProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_RunConfigProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_S3EncryptionProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_ScheduleProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_VPCConfigProperty(p) { } function _aws_cdk_aws_synthetics_CfnCanary_VisualReferenceProperty(p) { } function _aws_cdk_aws_synthetics_CfnGroupProps(p) { if (p == null) return; visitedObjects.add(p); try { if (p.tags != null) for (const o of p.tags) if (!visitedObjects.has(o)) require("@aws-cdk/core/.warnings.jsii.js")._aws_cdk_core_CfnTag(o); } finally { visitedObjects.delete(p); } } function _aws_cdk_aws_synthetics_CfnGroup(p) { } function print(name, deprecationMessage) { const deprecated = process.env.JSII_DEPRECATED; const deprecationMode = ["warn", "fail", "quiet"].includes(deprecated) ? deprecated : "warn"; const message = `${name} is deprecated.\n ${deprecationMessage.trim()}\n This API will be removed in the next major release.`; switch (deprecationMode) { case "fail": throw new DeprecationError(message); case "warn": console.warn("[WARNING]", message); break; } } function getPropertyDescriptor(obj, prop) { const descriptor = Object.getOwnPropertyDescriptor(obj, prop); if (descriptor) { return descriptor; } const proto = Object.getPrototypeOf(obj); const prototypeDescriptor = proto && getPropertyDescriptor(proto, prop); if (prototypeDescriptor) { return prototypeDescriptor; } return {}; } const visitedObjects = new Set(); class DeprecationError extends Error { constructor(...args) { super(...args); Object.defineProperty(this, "name", { configurable: false, enumerable: true, value: "DeprecationError", writable: false, }); } } module.exports = { print, getPropertyDescriptor, DeprecationError, _aws_cdk_aws_synthetics_Test, _aws_cdk_aws_synthetics_CustomTestOptions, _aws_cdk_aws_synthetics_ArtifactsBucketLocation, _aws_cdk_aws_synthetics_CanaryProps, _aws_cdk_aws_synthetics_Canary, _aws_cdk_aws_synthetics_Code, _aws_cdk_aws_synthetics_CodeConfig, _aws_cdk_aws_synthetics_AssetCode, _aws_cdk_aws_synthetics_InlineCode, _aws_cdk_aws_synthetics_S3Code, _aws_cdk_aws_synthetics_RuntimeFamily, _aws_cdk_aws_synthetics_Runtime, _aws_cdk_aws_synthetics_Schedule, _aws_cdk_aws_synthetics_CronOptions, _aws_cdk_aws_synthetics_CfnCanaryProps, _aws_cdk_aws_synthetics_CfnCanary, _aws_cdk_aws_synthetics_CfnCanary_ArtifactConfigProperty, _aws_cdk_aws_synthetics_CfnCanary_BaseScreenshotProperty, _aws_cdk_aws_synthetics_CfnCanary_CodeProperty, _aws_cdk_aws_synthetics_CfnCanary_RunConfigProperty, _aws_cdk_aws_synthetics_CfnCanary_S3EncryptionProperty, _aws_cdk_aws_synthetics_CfnCanary_ScheduleProperty, _aws_cdk_aws_synthetics_CfnCanary_VPCConfigProperty, _aws_cdk_aws_synthetics_CfnCanary_VisualReferenceProperty, _aws_cdk_aws_synthetics_CfnGroupProps, _aws_cdk_aws_synthetics_CfnGroup };