{"version":"2","toolVersion":"1.84.0","snippets":{"3316e41712e63a237c4585ea14ddf483c36884f93702ecaa39cb8e09365204e4":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":33}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"22cd246f37f9b6fb323cc7f2ceabb08f3c7d5980f57baa6755e898c4dedfe91f":{"translations":{"python":{"source":"schedule = synthetics.Schedule.rate(Duration.minutes(5))","version":"2"},"csharp":{"source":"var schedule = Schedule.Rate(Duration.Minutes(5));","version":"1"},"java":{"source":"Schedule schedule = Schedule.rate(Duration.minutes(5));","version":"1"},"go":{"source":"schedule := synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5)))","version":"1"},"$":{"source":"const schedule = synthetics.Schedule.rate(Duration.minutes(5)); // Runs every 5 minutes.","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":94}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst schedule = synthetics.Schedule.rate(Duration.minutes(5));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"75":6,"194":3,"196":2,"225":1,"242":1,"243":1},"fqnsFingerprint":"201fcd0400e461e94455303e1fd0777a9a254aa24daf1f035b9fecc3a4324227"},"a72151a514d9df8d31300f991a6093405821c35f051c5bf449f51a5dd2853b40":{"translations":{"python":{"source":"schedule = synthetics.Schedule.cron(\n hour=\"0,8,16\"\n)","version":"2"},"csharp":{"source":"var schedule = Schedule.Cron(new CronOptions {\n Hour = \"0,8,16\"\n});","version":"1"},"java":{"source":"Schedule schedule = Schedule.cron(CronOptions.builder()\n .hour(\"0,8,16\")\n .build());","version":"1"},"go":{"source":"schedule := synthetics.Schedule_Cron(&CronOptions{\n\tHour: jsii.String(\"0,8,16\"),\n})","version":"1"},"$":{"source":"const schedule = synthetics.Schedule.cron({\n hour: '0,8,16', // Run at 12am, 8am, 4pm UTC every day\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":100}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CronOptions","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#cron"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst schedule = synthetics.Schedule.cron({\n hour: '0,8,16', // Run at 12am, 8am, 4pm UTC every day\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":5,"193":1,"194":2,"196":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"6f661bd2bfaf6f4bbfad6ca2f95432a9d4eca7a1f8f97871307fb603dc7883e9"},"ea3f3633f05ae3fcf73a9cb651f72858a0f2dc9cbb92f00fcbfca7650682ae2f":{"translations":{"python":{"source":"# To supply the code from a S3 bucket:\nimport aws_cdk.aws_s3 as s3\n# To supply the code inline:\nsynthetics.Canary(self, \"Inline Canary\",\n test=synthetics.Test.custom(\n code=synthetics.Code.from_inline(\"/* Synthetics handler code */\"),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n)\n\n# To supply the code from your local filesystem:\nsynthetics.Canary(self, \"Asset Canary\",\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n)\nbucket = s3.Bucket(self, \"Code Bucket\")\nsynthetics.Canary(self, \"Bucket Canary\",\n test=synthetics.Test.custom(\n code=synthetics.Code.from_bucket(bucket, \"canary.zip\"),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n)","version":"2"},"csharp":{"source":"// To supply the code from a S3 bucket:\nusing Amazon.CDK.AWS.S3;\n// To supply the code inline:\n// To supply the code inline:\nnew Canary(this, \"Inline Canary\", new CanaryProps {\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromInline(\"/* Synthetics handler code */\"),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n});\n\n// To supply the code from your local filesystem:\n// To supply the code from your local filesystem:\nnew Canary(this, \"Asset Canary\", new CanaryProps {\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n});\nvar bucket = new Bucket(this, \"Code Bucket\");\nnew Canary(this, \"Bucket Canary\", new CanaryProps {\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromBucket(bucket, \"canary.zip\"),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4\n});","version":"1"},"java":{"source":"// To supply the code from a S3 bucket:\nimport software.amazon.awscdk.services.s3.*;\n// To supply the code inline:\n// To supply the code inline:\nCanary.Builder.create(this, \"Inline Canary\")\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromInline(\"/* Synthetics handler code */\"))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4)\n .build();\n\n// To supply the code from your local filesystem:\n// To supply the code from your local filesystem:\nCanary.Builder.create(this, \"Asset Canary\")\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4)\n .build();\nBucket bucket = new Bucket(this, \"Code Bucket\");\nCanary.Builder.create(this, \"Bucket Canary\")\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromBucket(bucket, \"canary.zip\"))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4)\n .build();","version":"1"},"go":{"source":"// To supply the code from a S3 bucket:\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\n// To supply the code inline:\n// To supply the code inline:\nsynthetics.NewCanary(this, jsii.String(\"Inline Canary\"), &CanaryProps{\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromInline(jsii.String(\"/* Synthetics handler code */\")),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_4(),\n})\n\n// To supply the code from your local filesystem:\n// To supply the code from your local filesystem:\nsynthetics.NewCanary(this, jsii.String(\"Asset Canary\"), &CanaryProps{\n\tTest: synthetics.Test_*Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_4(),\n})\nbucket := s3.NewBucket(this, jsii.String(\"Code Bucket\"))\nsynthetics.NewCanary(this, jsii.String(\"Bucket Canary\"), &CanaryProps{\n\tTest: synthetics.Test_*Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromBucket(bucket, jsii.String(\"canary.zip\")),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_4(),\n})","version":"1"},"$":{"source":"// To supply the code inline:\nnew synthetics.Canary(this, 'Inline Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromInline('/* Synthetics handler code */'),\n handler: 'index.handler', // must be 'index.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});\n\n// To supply the code from your local filesystem:\nnew synthetics.Canary(this, 'Asset Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler', // must end with '.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});\n\n// To supply the code from a S3 bucket:\nimport * as s3 from '@aws-cdk/aws-s3';\nconst bucket = new s3.Bucket(this, 'Code Bucket');\nnew synthetics.Canary(this, 'Bucket Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromBucket(bucket, 'canary.zip'),\n handler: 'index.handler', // must end with '.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":120}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.Bucket","@aws-cdk/aws-s3.IBucket","@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.Code#fromBucket","@aws-cdk/aws-synthetics.Code#fromInline","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_4","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n\n\n// To supply the code from a S3 bucket:\nimport * as s3 from '@aws-cdk/aws-s3';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n// To supply the code inline:\nnew synthetics.Canary(this, 'Inline Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromInline('/* Synthetics handler code */'),\n handler: 'index.handler', // must be 'index.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});\n\n// To supply the code from your local filesystem:\nnew synthetics.Canary(this, 'Asset Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler', // must end with '.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});\nconst bucket = new s3.Bucket(this, 'Code Bucket');\nnew synthetics.Canary(this, 'Bucket Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromBucket(bucket, 'canary.zip'),\n handler: 'index.handler', // must end with '.handler'\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":11,"75":53,"104":4,"193":6,"194":23,"196":7,"197":4,"225":1,"226":3,"242":1,"243":1,"254":1,"255":1,"256":1,"281":12,"290":1},"fqnsFingerprint":"3995d9d5b8a635de5575d4ac259a56deb8e77ab923ba15f22b0c435748806fbd"},"c0cf968c31a745825c7077952de65b15fbf9546b984c8d182582d8e0dad7b4ec":{"translations":{"python":{"source":"import aws_cdk.aws_ec2 as ec2\n\n# vpc: ec2.IVpc\n\nsynthetics.Canary(self, \"Vpc Canary\",\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n vpc=vpc\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.EC2;\n\nIVpc vpc;\n\nnew Canary(this, \"Vpc Canary\", new CanaryProps {\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n Vpc = vpc\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.ec2.*;\n\nIVpc vpc;\n\nCanary.Builder.create(this, \"Vpc Canary\")\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4)\n .vpc(vpc)\n .build();","version":"1"},"go":{"source":"import ec2 \"github.com/aws-samples/dummy/awscdkawsec2\"\n\nvar vpc iVpc\n\nsynthetics.NewCanary(this, jsii.String(\"Vpc Canary\"), &CanaryProps{\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_4(),\n\tVpc: Vpc,\n})","version":"1"},"$":{"source":"import * as ec2 from '@aws-cdk/aws-ec2';\n\ndeclare const vpc: ec2.IVpc;\nnew synthetics.Canary(this, 'Vpc Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n vpc,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":177}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-ec2.IVpc","@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_4","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as ec2 from '@aws-cdk/aws-ec2';\n\ndeclare const vpc: ec2.IVpc;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew synthetics.Canary(this, 'Vpc Canary', {\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_4,\n vpc,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":4,"75":23,"104":1,"130":1,"153":1,"169":1,"193":2,"194":8,"196":3,"197":1,"225":1,"226":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"282":1,"290":1},"fqnsFingerprint":"8ee39f3635c8a06cdaff31c5bddf2d7647b7e3bebcb8d655c2969c1de746c09e"},"af1afe8c8a0ed22186cb3e3155574c60977b088f9e7126bc70873688e323a035":{"translations":{"python":{"source":"import aws_cdk.aws_cloudwatch as cloudwatch\n\n# canary: synthetics.Canary\n\ncloudwatch.Alarm(self, \"CanaryAlarm\",\n metric=canary.metric_success_percent(),\n evaluation_periods=2,\n threshold=90,\n comparison_operator=cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD\n)","version":"2"},"csharp":{"source":"using Amazon.CDK.AWS.CloudWatch;\n\nCanary canary;\n\nnew Alarm(this, \"CanaryAlarm\", new AlarmProps {\n Metric = canary.MetricSuccessPercent(),\n EvaluationPeriods = 2,\n Threshold = 90,\n ComparisonOperator = ComparisonOperator.LESS_THAN_THRESHOLD\n});","version":"1"},"java":{"source":"import software.amazon.awscdk.services.cloudwatch.*;\n\nCanary canary;\n\nAlarm.Builder.create(this, \"CanaryAlarm\")\n .metric(canary.metricSuccessPercent())\n .evaluationPeriods(2)\n .threshold(90)\n .comparisonOperator(ComparisonOperator.LESS_THAN_THRESHOLD)\n .build();","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/awscdkawscloudwatch\"\n\nvar canary canary\n\ncloudwatch.NewAlarm(this, jsii.String(\"CanaryAlarm\"), &AlarmProps{\n\tMetric: canary.MetricSuccessPercent(),\n\tEvaluationPeriods: jsii.Number(2),\n\tThreshold: jsii.Number(90),\n\tComparisonOperator: cloudwatch.ComparisonOperator_LESS_THAN_THRESHOLD,\n})","version":"1"},"$":{"source":"import * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const canary: synthetics.Canary;\nnew cloudwatch.Alarm(this, 'CanaryAlarm', {\n metric: canary.metricSuccessPercent(),\n evaluationPeriods: 2,\n threshold: 90,\n comparisonOperator: cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD,\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"@aws-cdk/aws-synthetics"},"field":{"field":"markdown","line":207}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-cloudwatch.Alarm","@aws-cdk/aws-cloudwatch.AlarmProps","@aws-cdk/aws-cloudwatch.ComparisonOperator","@aws-cdk/aws-cloudwatch.ComparisonOperator#LESS_THAN_THRESHOLD","@aws-cdk/aws-cloudwatch.IMetric","@aws-cdk/aws-synthetics.Canary#metricSuccessPercent","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport * as cloudwatch from '@aws-cdk/aws-cloudwatch';\n\ndeclare const canary: synthetics.Canary;\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\nnew cloudwatch.Alarm(this, 'CanaryAlarm', {\n metric: canary.metricSuccessPercent(),\n evaluationPeriods: 2,\n threshold: 90,\n comparisonOperator: cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD,\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":2,"10":2,"75":15,"104":1,"130":1,"153":1,"169":1,"193":1,"194":4,"196":1,"197":1,"225":1,"226":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"c7bf975d636f48c77d5d1656d4810aedd984134fed3433fa4b49cf778a994184"},"a15f66c68b0b8956ae89559987d97412b3e24bc6374f8fb6b8238addc8f5c545":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.aws_synthetics as synthetics\n\n# bucket: s3.Bucket\n\nartifacts_bucket_location = synthetics.ArtifactsBucketLocation(\n bucket=bucket,\n\n # the properties below are optional\n prefix=\"prefix\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK.AWS.Synthetics;\n\nBucket bucket;\n\nvar artifactsBucketLocation = new ArtifactsBucketLocation {\n Bucket = bucket,\n\n // the properties below are optional\n Prefix = \"prefix\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.services.synthetics.*;\n\nBucket bucket;\n\nArtifactsBucketLocation artifactsBucketLocation = ArtifactsBucketLocation.builder()\n .bucket(bucket)\n\n // the properties below are optional\n .prefix(\"prefix\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nvar bucket bucket\n\nartifactsBucketLocation := &ArtifactsBucketLocation{\n\tBucket: bucket,\n\n\t// the properties below are optional\n\tPrefix: jsii.String(\"prefix\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n\ndeclare const bucket: s3.Bucket;\nconst artifactsBucketLocation: synthetics.ArtifactsBucketLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.ArtifactsBucketLocation"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.IBucket","@aws-cdk/aws-synthetics.ArtifactsBucketLocation"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst artifactsBucketLocation: synthetics.ArtifactsBucketLocation = {\n bucket: bucket,\n\n // the properties below are optional\n prefix: 'prefix',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":11,"130":1,"153":2,"169":2,"193":1,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"281":2,"290":1},"fqnsFingerprint":"8c9077c6517d0c5a5fe58a07644c2f903aeada25542dda830ac4c395fb33e810"},"c7e8f1d82d61741c6b94ea1cd13554295381fd9420e3c54827bc5ec85bfb9e8e":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.assets as assets\nimport aws_cdk.aws_iam as iam\nimport aws_cdk.aws_synthetics as synthetics\nimport aws_cdk.core as cdk\n\n# docker_image: cdk.DockerImage\n# grantable: iam.IGrantable\n# local_bundling: cdk.ILocalBundling\n\nasset_code = synthetics.AssetCode(\"assetPath\",\n asset_hash=\"assetHash\",\n asset_hash_type=cdk.AssetHashType.SOURCE,\n bundling=cdk.BundlingOptions(\n image=docker_image,\n\n # the properties below are optional\n command=[\"command\"],\n entrypoint=[\"entrypoint\"],\n environment={\n \"environment_key\": \"environment\"\n },\n local=local_bundling,\n output_type=cdk.BundlingOutput.ARCHIVED,\n security_opt=\"securityOpt\",\n user=\"user\",\n volumes=[cdk.DockerVolume(\n container_path=\"containerPath\",\n host_path=\"hostPath\",\n\n # the properties below are optional\n consistency=cdk.DockerVolumeConsistency.CONSISTENT\n )],\n working_directory=\"workingDirectory\"\n ),\n exclude=[\"exclude\"],\n follow=assets.FollowMode.NEVER,\n follow_symlinks=cdk.SymlinkFollowMode.NEVER,\n ignore_mode=cdk.IgnoreMode.GLOB,\n readers=[grantable],\n source_hash=\"sourceHash\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.Assets;\nusing Amazon.CDK.AWS.IAM;\nusing Amazon.CDK.AWS.Synthetics;\nusing Amazon.CDK;\n\nDockerImage dockerImage;\nIGrantable grantable;\nILocalBundling localBundling;\nvar assetCode = new AssetCode(\"assetPath\", new AssetOptions {\n AssetHash = \"assetHash\",\n AssetHashType = AssetHashType.SOURCE,\n Bundling = new BundlingOptions {\n Image = dockerImage,\n\n // the properties below are optional\n Command = new [] { \"command\" },\n Entrypoint = new [] { \"entrypoint\" },\n Environment = new Dictionary {\n { \"environmentKey\", \"environment\" }\n },\n Local = localBundling,\n OutputType = BundlingOutput.ARCHIVED,\n SecurityOpt = \"securityOpt\",\n User = \"user\",\n Volumes = new [] { new DockerVolume {\n ContainerPath = \"containerPath\",\n HostPath = \"hostPath\",\n\n // the properties below are optional\n Consistency = DockerVolumeConsistency.CONSISTENT\n } },\n WorkingDirectory = \"workingDirectory\"\n },\n Exclude = new [] { \"exclude\" },\n Follow = FollowMode.NEVER,\n FollowSymlinks = SymlinkFollowMode.NEVER,\n IgnoreMode = IgnoreMode.GLOB,\n Readers = new [] { grantable },\n SourceHash = \"sourceHash\"\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.assets.*;\nimport software.amazon.awscdk.services.iam.*;\nimport software.amazon.awscdk.services.synthetics.*;\nimport software.amazon.awscdk.core.*;\n\nDockerImage dockerImage;\nIGrantable grantable;\nILocalBundling localBundling;\n\nAssetCode assetCode = AssetCode.Builder.create(\"assetPath\")\n .assetHash(\"assetHash\")\n .assetHashType(AssetHashType.SOURCE)\n .bundling(BundlingOptions.builder()\n .image(dockerImage)\n\n // the properties below are optional\n .command(List.of(\"command\"))\n .entrypoint(List.of(\"entrypoint\"))\n .environment(Map.of(\n \"environmentKey\", \"environment\"))\n .local(localBundling)\n .outputType(BundlingOutput.ARCHIVED)\n .securityOpt(\"securityOpt\")\n .user(\"user\")\n .volumes(List.of(DockerVolume.builder()\n .containerPath(\"containerPath\")\n .hostPath(\"hostPath\")\n\n // the properties below are optional\n .consistency(DockerVolumeConsistency.CONSISTENT)\n .build()))\n .workingDirectory(\"workingDirectory\")\n .build())\n .exclude(List.of(\"exclude\"))\n .follow(FollowMode.NEVER)\n .followSymlinks(SymlinkFollowMode.NEVER)\n .ignoreMode(IgnoreMode.GLOB)\n .readers(List.of(grantable))\n .sourceHash(\"sourceHash\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport assets \"github.com/aws-samples/dummy/awscdkassets\"\nimport iam \"github.com/aws-samples/dummy/awscdkawsiam\"\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\nimport \"github.com/aws-samples/dummy/awscdkcore\"\n\nvar dockerImage dockerImage\nvar grantable iGrantable\nvar localBundling iLocalBundling\n\nassetCode := synthetics.NewAssetCode(jsii.String(\"assetPath\"), &AssetOptions{\n\tAssetHash: jsii.String(\"assetHash\"),\n\tAssetHashType: cdk.AssetHashType_SOURCE,\n\tBundling: &BundlingOptions{\n\t\tImage: dockerImage,\n\n\t\t// the properties below are optional\n\t\tCommand: []*string{\n\t\t\tjsii.String(\"command\"),\n\t\t},\n\t\tEntrypoint: []*string{\n\t\t\tjsii.String(\"entrypoint\"),\n\t\t},\n\t\tEnvironment: map[string]*string{\n\t\t\t\"environmentKey\": jsii.String(\"environment\"),\n\t\t},\n\t\tLocal: localBundling,\n\t\tOutputType: cdk.BundlingOutput_ARCHIVED,\n\t\tSecurityOpt: jsii.String(\"securityOpt\"),\n\t\tUser: jsii.String(\"user\"),\n\t\tVolumes: []dockerVolume{\n\t\t\t&dockerVolume{\n\t\t\t\tContainerPath: jsii.String(\"containerPath\"),\n\t\t\t\tHostPath: jsii.String(\"hostPath\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tConsistency: cdk.DockerVolumeConsistency_CONSISTENT,\n\t\t\t},\n\t\t},\n\t\tWorkingDirectory: jsii.String(\"workingDirectory\"),\n\t},\n\tExclude: []*string{\n\t\tjsii.String(\"exclude\"),\n\t},\n\tFollow: assets.FollowMode_NEVER,\n\tFollowSymlinks: cdk.SymlinkFollowMode_NEVER,\n\tIgnoreMode: cdk.IgnoreMode_GLOB,\n\tReaders: []*iGrantable{\n\t\tgrantable,\n\t},\n\tSourceHash: jsii.String(\"sourceHash\"),\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as assets from '@aws-cdk/assets';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\nconst assetCode = new synthetics.AssetCode('assetPath', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n follow: assets.FollowMode.NEVER,\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n sourceHash: 'sourceHash',\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.AssetCode"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/assets.FollowMode","@aws-cdk/assets.FollowMode#NEVER","@aws-cdk/aws-s3-assets.AssetOptions","@aws-cdk/aws-synthetics.AssetCode","@aws-cdk/core.AssetHashType","@aws-cdk/core.AssetHashType#SOURCE","@aws-cdk/core.BundlingOptions","@aws-cdk/core.BundlingOutput","@aws-cdk/core.BundlingOutput#ARCHIVED","@aws-cdk/core.DockerImage","@aws-cdk/core.DockerVolumeConsistency","@aws-cdk/core.DockerVolumeConsistency#CONSISTENT","@aws-cdk/core.ILocalBundling","@aws-cdk/core.IgnoreMode","@aws-cdk/core.IgnoreMode#GLOB","@aws-cdk/core.SymlinkFollowMode","@aws-cdk/core.SymlinkFollowMode#NEVER"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as assets from '@aws-cdk/assets';\nimport * as iam from '@aws-cdk/aws-iam';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as cdk from '@aws-cdk/core';\n\ndeclare const dockerImage: cdk.DockerImage;\ndeclare const grantable: iam.IGrantable;\ndeclare const localBundling: cdk.ILocalBundling;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst assetCode = new synthetics.AssetCode('assetPath', /* all optional props */ {\n assetHash: 'assetHash',\n assetHashType: cdk.AssetHashType.SOURCE,\n bundling: {\n image: dockerImage,\n\n // the properties below are optional\n command: ['command'],\n entrypoint: ['entrypoint'],\n environment: {\n environmentKey: 'environment',\n },\n local: localBundling,\n outputType: cdk.BundlingOutput.ARCHIVED,\n securityOpt: 'securityOpt',\n user: 'user',\n volumes: [{\n containerPath: 'containerPath',\n hostPath: 'hostPath',\n\n // the properties below are optional\n consistency: cdk.DockerVolumeConsistency.CONSISTENT,\n }],\n workingDirectory: 'workingDirectory',\n },\n exclude: ['exclude'],\n follow: assets.FollowMode.NEVER,\n followSymlinks: cdk.SymlinkFollowMode.NEVER,\n ignoreMode: cdk.IgnoreMode.GLOB,\n readers: [grantable],\n sourceHash: 'sourceHash',\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":16,"75":60,"130":3,"153":3,"169":3,"192":5,"193":4,"194":13,"197":1,"225":4,"242":4,"243":4,"254":4,"255":4,"256":4,"281":23,"290":1},"fqnsFingerprint":"9968fc2260b6468780121c4e019b73526131e0a5d93f42ea855450939740d549"},"0c8559b3d1f262d5d9e8a90f5756e827e39952d47c19cc911b77455761287a34":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.Canary"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"07800446384df98408bdc32e455368d4292c1c3f5492cd4a72861634c1bcbf77":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CanaryProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"af3af27c24797df7bd80621f7acde35347b0ec354ba500d927e3a631b1f8364d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncfn_canary = synthetics.CfnCanary(self, \"MyCfnCanary\",\n artifact_s3_location=\"artifactS3Location\",\n code=synthetics.CfnCanary.CodeProperty(\n handler=\"handler\",\n\n # the properties below are optional\n s3_bucket=\"s3Bucket\",\n s3_key=\"s3Key\",\n s3_object_version=\"s3ObjectVersion\",\n script=\"script\",\n source_location_arn=\"sourceLocationArn\"\n ),\n execution_role_arn=\"executionRoleArn\",\n name=\"name\",\n runtime_version=\"runtimeVersion\",\n schedule=synthetics.CfnCanary.ScheduleProperty(\n expression=\"expression\",\n\n # the properties below are optional\n duration_in_seconds=\"durationInSeconds\"\n ),\n\n # the properties below are optional\n artifact_config=synthetics.CfnCanary.ArtifactConfigProperty(\n s3_encryption=synthetics.CfnCanary.S3EncryptionProperty(\n encryption_mode=\"encryptionMode\",\n kms_key_arn=\"kmsKeyArn\"\n )\n ),\n delete_lambda_resources_on_canary_deletion=False,\n failure_retention_period=123,\n run_config=synthetics.CfnCanary.RunConfigProperty(\n active_tracing=False,\n environment_variables={\n \"environment_variables_key\": \"environmentVariables\"\n },\n memory_in_mb=123,\n timeout_in_seconds=123\n ),\n start_canary_after_creation=False,\n success_retention_period=123,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n visual_reference=synthetics.CfnCanary.VisualReferenceProperty(\n base_canary_run_id=\"baseCanaryRunId\",\n\n # the properties below are optional\n base_screenshots=[synthetics.CfnCanary.BaseScreenshotProperty(\n screenshot_name=\"screenshotName\",\n\n # the properties below are optional\n ignore_coordinates=[\"ignoreCoordinates\"]\n )]\n ),\n vpc_config=synthetics.CfnCanary.VPCConfigProperty(\n security_group_ids=[\"securityGroupIds\"],\n subnet_ids=[\"subnetIds\"],\n\n # the properties below are optional\n vpc_id=\"vpcId\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar cfnCanary = new CfnCanary(this, \"MyCfnCanary\", new CfnCanaryProps {\n ArtifactS3Location = \"artifactS3Location\",\n Code = new CodeProperty {\n Handler = \"handler\",\n\n // the properties below are optional\n S3Bucket = \"s3Bucket\",\n S3Key = \"s3Key\",\n S3ObjectVersion = \"s3ObjectVersion\",\n Script = \"script\",\n SourceLocationArn = \"sourceLocationArn\"\n },\n ExecutionRoleArn = \"executionRoleArn\",\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\",\n Schedule = new ScheduleProperty {\n Expression = \"expression\",\n\n // the properties below are optional\n DurationInSeconds = \"durationInSeconds\"\n },\n\n // the properties below are optional\n ArtifactConfig = new ArtifactConfigProperty {\n S3Encryption = new S3EncryptionProperty {\n EncryptionMode = \"encryptionMode\",\n KmsKeyArn = \"kmsKeyArn\"\n }\n },\n DeleteLambdaResourcesOnCanaryDeletion = false,\n FailureRetentionPeriod = 123,\n RunConfig = new RunConfigProperty {\n ActiveTracing = false,\n EnvironmentVariables = new Dictionary {\n { \"environmentVariablesKey\", \"environmentVariables\" }\n },\n MemoryInMb = 123,\n TimeoutInSeconds = 123\n },\n StartCanaryAfterCreation = false,\n SuccessRetentionPeriod = 123,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n VisualReference = new VisualReferenceProperty {\n BaseCanaryRunId = \"baseCanaryRunId\",\n\n // the properties below are optional\n BaseScreenshots = new [] { new BaseScreenshotProperty {\n ScreenshotName = \"screenshotName\",\n\n // the properties below are optional\n IgnoreCoordinates = new [] { \"ignoreCoordinates\" }\n } }\n },\n VpcConfig = new VPCConfigProperty {\n SecurityGroupIds = new [] { \"securityGroupIds\" },\n SubnetIds = new [] { \"subnetIds\" },\n\n // the properties below are optional\n VpcId = \"vpcId\"\n }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCfnCanary cfnCanary = CfnCanary.Builder.create(this, \"MyCfnCanary\")\n .artifactS3Location(\"artifactS3Location\")\n .code(CodeProperty.builder()\n .handler(\"handler\")\n\n // the properties below are optional\n .s3Bucket(\"s3Bucket\")\n .s3Key(\"s3Key\")\n .s3ObjectVersion(\"s3ObjectVersion\")\n .script(\"script\")\n .sourceLocationArn(\"sourceLocationArn\")\n .build())\n .executionRoleArn(\"executionRoleArn\")\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .schedule(ScheduleProperty.builder()\n .expression(\"expression\")\n\n // the properties below are optional\n .durationInSeconds(\"durationInSeconds\")\n .build())\n\n // the properties below are optional\n .artifactConfig(ArtifactConfigProperty.builder()\n .s3Encryption(S3EncryptionProperty.builder()\n .encryptionMode(\"encryptionMode\")\n .kmsKeyArn(\"kmsKeyArn\")\n .build())\n .build())\n .deleteLambdaResourcesOnCanaryDeletion(false)\n .failureRetentionPeriod(123)\n .runConfig(RunConfigProperty.builder()\n .activeTracing(false)\n .environmentVariables(Map.of(\n \"environmentVariablesKey\", \"environmentVariables\"))\n .memoryInMb(123)\n .timeoutInSeconds(123)\n .build())\n .startCanaryAfterCreation(false)\n .successRetentionPeriod(123)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .visualReference(VisualReferenceProperty.builder()\n .baseCanaryRunId(\"baseCanaryRunId\")\n\n // the properties below are optional\n .baseScreenshots(List.of(BaseScreenshotProperty.builder()\n .screenshotName(\"screenshotName\")\n\n // the properties below are optional\n .ignoreCoordinates(List.of(\"ignoreCoordinates\"))\n .build()))\n .build())\n .vpcConfig(VPCConfigProperty.builder()\n .securityGroupIds(List.of(\"securityGroupIds\"))\n .subnetIds(List.of(\"subnetIds\"))\n\n // the properties below are optional\n .vpcId(\"vpcId\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncfnCanary := synthetics.NewCfnCanary(this, jsii.String(\"MyCfnCanary\"), &CfnCanaryProps{\n\tArtifactS3Location: jsii.String(\"artifactS3Location\"),\n\tCode: &CodeProperty{\n\t\tHandler: jsii.String(\"handler\"),\n\n\t\t// the properties below are optional\n\t\tS3Bucket: jsii.String(\"s3Bucket\"),\n\t\tS3Key: jsii.String(\"s3Key\"),\n\t\tS3ObjectVersion: jsii.String(\"s3ObjectVersion\"),\n\t\tScript: jsii.String(\"script\"),\n\t\tSourceLocationArn: jsii.String(\"sourceLocationArn\"),\n\t},\n\tExecutionRoleArn: jsii.String(\"executionRoleArn\"),\n\tName: jsii.String(\"name\"),\n\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\tSchedule: &ScheduleProperty{\n\t\tExpression: jsii.String(\"expression\"),\n\n\t\t// the properties below are optional\n\t\tDurationInSeconds: jsii.String(\"durationInSeconds\"),\n\t},\n\n\t// the properties below are optional\n\tArtifactConfig: &ArtifactConfigProperty{\n\t\tS3Encryption: &S3EncryptionProperty{\n\t\t\tEncryptionMode: jsii.String(\"encryptionMode\"),\n\t\t\tKmsKeyArn: jsii.String(\"kmsKeyArn\"),\n\t\t},\n\t},\n\tDeleteLambdaResourcesOnCanaryDeletion: jsii.Boolean(false),\n\tFailureRetentionPeriod: jsii.Number(123),\n\tRunConfig: &RunConfigProperty{\n\t\tActiveTracing: jsii.Boolean(false),\n\t\tEnvironmentVariables: map[string]*string{\n\t\t\t\"environmentVariablesKey\": jsii.String(\"environmentVariables\"),\n\t\t},\n\t\tMemoryInMb: jsii.Number(123),\n\t\tTimeoutInSeconds: jsii.Number(123),\n\t},\n\tStartCanaryAfterCreation: jsii.Boolean(false),\n\tSuccessRetentionPeriod: jsii.Number(123),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tVisualReference: &VisualReferenceProperty{\n\t\tBaseCanaryRunId: jsii.String(\"baseCanaryRunId\"),\n\n\t\t// the properties below are optional\n\t\tBaseScreenshots: []interface{}{\n\t\t\t&BaseScreenshotProperty{\n\t\t\t\tScreenshotName: jsii.String(\"screenshotName\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIgnoreCoordinates: []*string{\n\t\t\t\t\tjsii.String(\"ignoreCoordinates\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tVpcConfig: &VPCConfigProperty{\n\t\tSecurityGroupIds: []*string{\n\t\t\tjsii.String(\"securityGroupIds\"),\n\t\t},\n\t\tSubnetIds: []*string{\n\t\t\tjsii.String(\"subnetIds\"),\n\t\t},\n\n\t\t// the properties below are optional\n\t\tVpcId: jsii.String(\"vpcId\"),\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst cfnCanary = new synthetics.CfnCanary(this, 'MyCfnCanary', {\n artifactS3Location: 'artifactS3Location',\n code: {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n },\n executionRoleArn: 'executionRoleArn',\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n schedule: {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n },\n\n // the properties below are optional\n artifactConfig: {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n },\n deleteLambdaResourcesOnCanaryDeletion: false,\n failureRetentionPeriod: 123,\n runConfig: {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n },\n startCanaryAfterCreation: false,\n successRetentionPeriod: 123,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visualReference: {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary","@aws-cdk/aws-synthetics.CfnCanaryProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnCanary = new synthetics.CfnCanary(this, 'MyCfnCanary', {\n artifactS3Location: 'artifactS3Location',\n code: {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n },\n executionRoleArn: 'executionRoleArn',\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n schedule: {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n },\n\n // the properties below are optional\n artifactConfig: {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n },\n deleteLambdaResourcesOnCanaryDeletion: false,\n failureRetentionPeriod: 123,\n runConfig: {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n },\n startCanaryAfterCreation: false,\n successRetentionPeriod: 123,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visualReference: {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":4,"10":25,"75":44,"91":3,"104":1,"192":5,"193":11,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":40,"290":1},"fqnsFingerprint":"c10bae82b154b2c209db6c85fd38b4480d76a5125fa269de178cbd8a0b5bc3ec"},"983b269bf17e17d8e131f153263ba93d526fcae8b88755a4511184bda6243bdc":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nartifact_config_property = synthetics.CfnCanary.ArtifactConfigProperty(\n s3_encryption=synthetics.CfnCanary.S3EncryptionProperty(\n encryption_mode=\"encryptionMode\",\n kms_key_arn=\"kmsKeyArn\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar artifactConfigProperty = new ArtifactConfigProperty {\n S3Encryption = new S3EncryptionProperty {\n EncryptionMode = \"encryptionMode\",\n KmsKeyArn = \"kmsKeyArn\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nArtifactConfigProperty artifactConfigProperty = ArtifactConfigProperty.builder()\n .s3Encryption(S3EncryptionProperty.builder()\n .encryptionMode(\"encryptionMode\")\n .kmsKeyArn(\"kmsKeyArn\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nartifactConfigProperty := &ArtifactConfigProperty{\n\tS3Encryption: &S3EncryptionProperty{\n\t\tEncryptionMode: jsii.String(\"encryptionMode\"),\n\t\tKmsKeyArn: jsii.String(\"kmsKeyArn\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst artifactConfigProperty: synthetics.CfnCanary.ArtifactConfigProperty = {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.ArtifactConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.ArtifactConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst artifactConfigProperty: synthetics.CfnCanary.ArtifactConfigProperty = {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":8,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"87dc2300eaa02ea340dd0fe4cc9f07d8328f260d2c89ae2fbbbbb5843cccdcb9"},"141b6f1fd1bdeeb866c4af6364568b7941e469f7019dbf4914b11f7dd69404a9":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nbase_screenshot_property = synthetics.CfnCanary.BaseScreenshotProperty(\n screenshot_name=\"screenshotName\",\n\n # the properties below are optional\n ignore_coordinates=[\"ignoreCoordinates\"]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar baseScreenshotProperty = new BaseScreenshotProperty {\n ScreenshotName = \"screenshotName\",\n\n // the properties below are optional\n IgnoreCoordinates = new [] { \"ignoreCoordinates\" }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nBaseScreenshotProperty baseScreenshotProperty = BaseScreenshotProperty.builder()\n .screenshotName(\"screenshotName\")\n\n // the properties below are optional\n .ignoreCoordinates(List.of(\"ignoreCoordinates\"))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nbaseScreenshotProperty := &BaseScreenshotProperty{\n\tScreenshotName: jsii.String(\"screenshotName\"),\n\n\t// the properties below are optional\n\tIgnoreCoordinates: []*string{\n\t\tjsii.String(\"ignoreCoordinates\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst baseScreenshotProperty: synthetics.CfnCanary.BaseScreenshotProperty = {\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.BaseScreenshotProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.BaseScreenshotProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst baseScreenshotProperty: synthetics.CfnCanary.BaseScreenshotProperty = {\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"192":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"55715905abb8148688774da1d4a11f695b762e117d2acf9751ef91d5dfa15404"},"8f73fcd053ecb4fd55398229aba190d88c121eae02a2ce60093b6baaae91c208":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncode_property = synthetics.CfnCanary.CodeProperty(\n handler=\"handler\",\n\n # the properties below are optional\n s3_bucket=\"s3Bucket\",\n s3_key=\"s3Key\",\n s3_object_version=\"s3ObjectVersion\",\n script=\"script\",\n source_location_arn=\"sourceLocationArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar codeProperty = new CodeProperty {\n Handler = \"handler\",\n\n // the properties below are optional\n S3Bucket = \"s3Bucket\",\n S3Key = \"s3Key\",\n S3ObjectVersion = \"s3ObjectVersion\",\n Script = \"script\",\n SourceLocationArn = \"sourceLocationArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCodeProperty codeProperty = CodeProperty.builder()\n .handler(\"handler\")\n\n // the properties below are optional\n .s3Bucket(\"s3Bucket\")\n .s3Key(\"s3Key\")\n .s3ObjectVersion(\"s3ObjectVersion\")\n .script(\"script\")\n .sourceLocationArn(\"sourceLocationArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncodeProperty := &CodeProperty{\n\tHandler: jsii.String(\"handler\"),\n\n\t// the properties below are optional\n\tS3Bucket: jsii.String(\"s3Bucket\"),\n\tS3Key: jsii.String(\"s3Key\"),\n\tS3ObjectVersion: jsii.String(\"s3ObjectVersion\"),\n\tScript: jsii.String(\"script\"),\n\tSourceLocationArn: jsii.String(\"sourceLocationArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst codeProperty: synthetics.CfnCanary.CodeProperty = {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.CodeProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.CodeProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst codeProperty: synthetics.CfnCanary.CodeProperty = {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":7,"75":11,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":6,"290":1},"fqnsFingerprint":"51077dbbe71d8c46b77f6a0ca54b296b15fd870f7cf851b03e1950896d33e584"},"a0f89021e2f16b43aa4c8b6a5593b4c063d42cc11bdb6934fe434976d5ded8ef":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nrun_config_property = synthetics.CfnCanary.RunConfigProperty(\n active_tracing=False,\n environment_variables={\n \"environment_variables_key\": \"environmentVariables\"\n },\n memory_in_mb=123,\n timeout_in_seconds=123\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar runConfigProperty = new RunConfigProperty {\n ActiveTracing = false,\n EnvironmentVariables = new Dictionary {\n { \"environmentVariablesKey\", \"environmentVariables\" }\n },\n MemoryInMb = 123,\n TimeoutInSeconds = 123\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nRunConfigProperty runConfigProperty = RunConfigProperty.builder()\n .activeTracing(false)\n .environmentVariables(Map.of(\n \"environmentVariablesKey\", \"environmentVariables\"))\n .memoryInMb(123)\n .timeoutInSeconds(123)\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nrunConfigProperty := &RunConfigProperty{\n\tActiveTracing: jsii.Boolean(false),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"environmentVariablesKey\": jsii.String(\"environmentVariables\"),\n\t},\n\tMemoryInMb: jsii.Number(123),\n\tTimeoutInSeconds: jsii.Number(123),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst runConfigProperty: synthetics.CfnCanary.RunConfigProperty = {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.RunConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.RunConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst runConfigProperty: synthetics.CfnCanary.RunConfigProperty = {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":2,"10":2,"75":10,"91":1,"153":2,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"e3488d0425af5feb2e53f9d8c3321348a26c2ccfe72094ce7ec82d6986ac160c"},"205a8b607a21d947349fd85ea6a830840961876b5f648b3a55cc5dd5f907c430":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ns3_encryption_property = synthetics.CfnCanary.S3EncryptionProperty(\n encryption_mode=\"encryptionMode\",\n kms_key_arn=\"kmsKeyArn\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar s3EncryptionProperty = new S3EncryptionProperty {\n EncryptionMode = \"encryptionMode\",\n KmsKeyArn = \"kmsKeyArn\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nS3EncryptionProperty s3EncryptionProperty = S3EncryptionProperty.builder()\n .encryptionMode(\"encryptionMode\")\n .kmsKeyArn(\"kmsKeyArn\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ns3EncryptionProperty := &S3EncryptionProperty{\n\tEncryptionMode: jsii.String(\"encryptionMode\"),\n\tKmsKeyArn: jsii.String(\"kmsKeyArn\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst s3EncryptionProperty: synthetics.CfnCanary.S3EncryptionProperty = {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.S3EncryptionProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.S3EncryptionProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3EncryptionProperty: synthetics.CfnCanary.S3EncryptionProperty = {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"59f071e914b687d30710435dae94fec6fbcc30dbfbd5d120a44f0f82a465a4ea"},"23f20414c7c76db1636140779e1d9b91aea49c078758a213e6abe9c07a39980e":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nschedule_property = synthetics.CfnCanary.ScheduleProperty(\n expression=\"expression\",\n\n # the properties below are optional\n duration_in_seconds=\"durationInSeconds\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar scheduleProperty = new ScheduleProperty {\n Expression = \"expression\",\n\n // the properties below are optional\n DurationInSeconds = \"durationInSeconds\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nScheduleProperty scheduleProperty = ScheduleProperty.builder()\n .expression(\"expression\")\n\n // the properties below are optional\n .durationInSeconds(\"durationInSeconds\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nscheduleProperty := &ScheduleProperty{\n\tExpression: jsii.String(\"expression\"),\n\n\t// the properties below are optional\n\tDurationInSeconds: jsii.String(\"durationInSeconds\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst scheduleProperty: synthetics.CfnCanary.ScheduleProperty = {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.ScheduleProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.ScheduleProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst scheduleProperty: synthetics.CfnCanary.ScheduleProperty = {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":3,"75":7,"153":2,"169":1,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":2,"290":1},"fqnsFingerprint":"e2444c8546a328df5581e9d78cbb7b9c6e94a0ce5603a11c19fe9a84462fe1eb"},"c636f5770bdb2487112adc7f49869200b33f2854cdd7eeb76a28bf295ea4b757":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nv_pCConfig_property = synthetics.CfnCanary.VPCConfigProperty(\n security_group_ids=[\"securityGroupIds\"],\n subnet_ids=[\"subnetIds\"],\n\n # the properties below are optional\n vpc_id=\"vpcId\"\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar vPCConfigProperty = new VPCConfigProperty {\n SecurityGroupIds = new [] { \"securityGroupIds\" },\n SubnetIds = new [] { \"subnetIds\" },\n\n // the properties below are optional\n VpcId = \"vpcId\"\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nVPCConfigProperty vPCConfigProperty = VPCConfigProperty.builder()\n .securityGroupIds(List.of(\"securityGroupIds\"))\n .subnetIds(List.of(\"subnetIds\"))\n\n // the properties below are optional\n .vpcId(\"vpcId\")\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nvPCConfigProperty := &VPCConfigProperty{\n\tSecurityGroupIds: []*string{\n\t\tjsii.String(\"securityGroupIds\"),\n\t},\n\tSubnetIds: []*string{\n\t\tjsii.String(\"subnetIds\"),\n\t},\n\n\t// the properties below are optional\n\tVpcId: jsii.String(\"vpcId\"),\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst vPCConfigProperty: synthetics.CfnCanary.VPCConfigProperty = {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.VPCConfigProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.VPCConfigProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst vPCConfigProperty: synthetics.CfnCanary.VPCConfigProperty = {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":8,"153":2,"169":1,"192":2,"193":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":3,"290":1},"fqnsFingerprint":"e6e64328e3f0569c89dae316df542892b06aa16618d3f483c844fa9870439e0a"},"f9e40915713294abab491f5b1402994d23782c388be86716578e732a2d1f6c3d":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\nvisual_reference_property = synthetics.CfnCanary.VisualReferenceProperty(\n base_canary_run_id=\"baseCanaryRunId\",\n\n # the properties below are optional\n base_screenshots=[synthetics.CfnCanary.BaseScreenshotProperty(\n screenshot_name=\"screenshotName\",\n\n # the properties below are optional\n ignore_coordinates=[\"ignoreCoordinates\"]\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar visualReferenceProperty = new VisualReferenceProperty {\n BaseCanaryRunId = \"baseCanaryRunId\",\n\n // the properties below are optional\n BaseScreenshots = new [] { new BaseScreenshotProperty {\n ScreenshotName = \"screenshotName\",\n\n // the properties below are optional\n IgnoreCoordinates = new [] { \"ignoreCoordinates\" }\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nVisualReferenceProperty visualReferenceProperty = VisualReferenceProperty.builder()\n .baseCanaryRunId(\"baseCanaryRunId\")\n\n // the properties below are optional\n .baseScreenshots(List.of(BaseScreenshotProperty.builder()\n .screenshotName(\"screenshotName\")\n\n // the properties below are optional\n .ignoreCoordinates(List.of(\"ignoreCoordinates\"))\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nvisualReferenceProperty := &VisualReferenceProperty{\n\tBaseCanaryRunId: jsii.String(\"baseCanaryRunId\"),\n\n\t// the properties below are optional\n\tBaseScreenshots: []interface{}{\n\t\t&BaseScreenshotProperty{\n\t\t\tScreenshotName: jsii.String(\"screenshotName\"),\n\n\t\t\t// the properties below are optional\n\t\t\tIgnoreCoordinates: []*string{\n\t\t\t\tjsii.String(\"ignoreCoordinates\"),\n\t\t\t},\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst visualReferenceProperty: synthetics.CfnCanary.VisualReferenceProperty = {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanary.VisualReferenceProperty"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanary.VisualReferenceProperty"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst visualReferenceProperty: synthetics.CfnCanary.VisualReferenceProperty = {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"153":2,"169":1,"192":2,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":4,"290":1},"fqnsFingerprint":"c0bfcad82acba8c30161a48cc2116af8c67c28d63037c248def04f6b8111ece6"},"90b05fbeff28e392e35345bac91e83289c54e494330062e63bfe62499cd6de39":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncfn_canary_props = synthetics.CfnCanaryProps(\n artifact_s3_location=\"artifactS3Location\",\n code=synthetics.CfnCanary.CodeProperty(\n handler=\"handler\",\n\n # the properties below are optional\n s3_bucket=\"s3Bucket\",\n s3_key=\"s3Key\",\n s3_object_version=\"s3ObjectVersion\",\n script=\"script\",\n source_location_arn=\"sourceLocationArn\"\n ),\n execution_role_arn=\"executionRoleArn\",\n name=\"name\",\n runtime_version=\"runtimeVersion\",\n schedule=synthetics.CfnCanary.ScheduleProperty(\n expression=\"expression\",\n\n # the properties below are optional\n duration_in_seconds=\"durationInSeconds\"\n ),\n\n # the properties below are optional\n artifact_config=synthetics.CfnCanary.ArtifactConfigProperty(\n s3_encryption=synthetics.CfnCanary.S3EncryptionProperty(\n encryption_mode=\"encryptionMode\",\n kms_key_arn=\"kmsKeyArn\"\n )\n ),\n delete_lambda_resources_on_canary_deletion=False,\n failure_retention_period=123,\n run_config=synthetics.CfnCanary.RunConfigProperty(\n active_tracing=False,\n environment_variables={\n \"environment_variables_key\": \"environmentVariables\"\n },\n memory_in_mb=123,\n timeout_in_seconds=123\n ),\n start_canary_after_creation=False,\n success_retention_period=123,\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )],\n visual_reference=synthetics.CfnCanary.VisualReferenceProperty(\n base_canary_run_id=\"baseCanaryRunId\",\n\n # the properties below are optional\n base_screenshots=[synthetics.CfnCanary.BaseScreenshotProperty(\n screenshot_name=\"screenshotName\",\n\n # the properties below are optional\n ignore_coordinates=[\"ignoreCoordinates\"]\n )]\n ),\n vpc_config=synthetics.CfnCanary.VPCConfigProperty(\n security_group_ids=[\"securityGroupIds\"],\n subnet_ids=[\"subnetIds\"],\n\n # the properties below are optional\n vpc_id=\"vpcId\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar cfnCanaryProps = new CfnCanaryProps {\n ArtifactS3Location = \"artifactS3Location\",\n Code = new CodeProperty {\n Handler = \"handler\",\n\n // the properties below are optional\n S3Bucket = \"s3Bucket\",\n S3Key = \"s3Key\",\n S3ObjectVersion = \"s3ObjectVersion\",\n Script = \"script\",\n SourceLocationArn = \"sourceLocationArn\"\n },\n ExecutionRoleArn = \"executionRoleArn\",\n Name = \"name\",\n RuntimeVersion = \"runtimeVersion\",\n Schedule = new ScheduleProperty {\n Expression = \"expression\",\n\n // the properties below are optional\n DurationInSeconds = \"durationInSeconds\"\n },\n\n // the properties below are optional\n ArtifactConfig = new ArtifactConfigProperty {\n S3Encryption = new S3EncryptionProperty {\n EncryptionMode = \"encryptionMode\",\n KmsKeyArn = \"kmsKeyArn\"\n }\n },\n DeleteLambdaResourcesOnCanaryDeletion = false,\n FailureRetentionPeriod = 123,\n RunConfig = new RunConfigProperty {\n ActiveTracing = false,\n EnvironmentVariables = new Dictionary {\n { \"environmentVariablesKey\", \"environmentVariables\" }\n },\n MemoryInMb = 123,\n TimeoutInSeconds = 123\n },\n StartCanaryAfterCreation = false,\n SuccessRetentionPeriod = 123,\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } },\n VisualReference = new VisualReferenceProperty {\n BaseCanaryRunId = \"baseCanaryRunId\",\n\n // the properties below are optional\n BaseScreenshots = new [] { new BaseScreenshotProperty {\n ScreenshotName = \"screenshotName\",\n\n // the properties below are optional\n IgnoreCoordinates = new [] { \"ignoreCoordinates\" }\n } }\n },\n VpcConfig = new VPCConfigProperty {\n SecurityGroupIds = new [] { \"securityGroupIds\" },\n SubnetIds = new [] { \"subnetIds\" },\n\n // the properties below are optional\n VpcId = \"vpcId\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCfnCanaryProps cfnCanaryProps = CfnCanaryProps.builder()\n .artifactS3Location(\"artifactS3Location\")\n .code(CodeProperty.builder()\n .handler(\"handler\")\n\n // the properties below are optional\n .s3Bucket(\"s3Bucket\")\n .s3Key(\"s3Key\")\n .s3ObjectVersion(\"s3ObjectVersion\")\n .script(\"script\")\n .sourceLocationArn(\"sourceLocationArn\")\n .build())\n .executionRoleArn(\"executionRoleArn\")\n .name(\"name\")\n .runtimeVersion(\"runtimeVersion\")\n .schedule(ScheduleProperty.builder()\n .expression(\"expression\")\n\n // the properties below are optional\n .durationInSeconds(\"durationInSeconds\")\n .build())\n\n // the properties below are optional\n .artifactConfig(ArtifactConfigProperty.builder()\n .s3Encryption(S3EncryptionProperty.builder()\n .encryptionMode(\"encryptionMode\")\n .kmsKeyArn(\"kmsKeyArn\")\n .build())\n .build())\n .deleteLambdaResourcesOnCanaryDeletion(false)\n .failureRetentionPeriod(123)\n .runConfig(RunConfigProperty.builder()\n .activeTracing(false)\n .environmentVariables(Map.of(\n \"environmentVariablesKey\", \"environmentVariables\"))\n .memoryInMb(123)\n .timeoutInSeconds(123)\n .build())\n .startCanaryAfterCreation(false)\n .successRetentionPeriod(123)\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .visualReference(VisualReferenceProperty.builder()\n .baseCanaryRunId(\"baseCanaryRunId\")\n\n // the properties below are optional\n .baseScreenshots(List.of(BaseScreenshotProperty.builder()\n .screenshotName(\"screenshotName\")\n\n // the properties below are optional\n .ignoreCoordinates(List.of(\"ignoreCoordinates\"))\n .build()))\n .build())\n .vpcConfig(VPCConfigProperty.builder()\n .securityGroupIds(List.of(\"securityGroupIds\"))\n .subnetIds(List.of(\"subnetIds\"))\n\n // the properties below are optional\n .vpcId(\"vpcId\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncfnCanaryProps := &CfnCanaryProps{\n\tArtifactS3Location: jsii.String(\"artifactS3Location\"),\n\tCode: &CodeProperty{\n\t\tHandler: jsii.String(\"handler\"),\n\n\t\t// the properties below are optional\n\t\tS3Bucket: jsii.String(\"s3Bucket\"),\n\t\tS3Key: jsii.String(\"s3Key\"),\n\t\tS3ObjectVersion: jsii.String(\"s3ObjectVersion\"),\n\t\tScript: jsii.String(\"script\"),\n\t\tSourceLocationArn: jsii.String(\"sourceLocationArn\"),\n\t},\n\tExecutionRoleArn: jsii.String(\"executionRoleArn\"),\n\tName: jsii.String(\"name\"),\n\tRuntimeVersion: jsii.String(\"runtimeVersion\"),\n\tSchedule: &ScheduleProperty{\n\t\tExpression: jsii.String(\"expression\"),\n\n\t\t// the properties below are optional\n\t\tDurationInSeconds: jsii.String(\"durationInSeconds\"),\n\t},\n\n\t// the properties below are optional\n\tArtifactConfig: &ArtifactConfigProperty{\n\t\tS3Encryption: &S3EncryptionProperty{\n\t\t\tEncryptionMode: jsii.String(\"encryptionMode\"),\n\t\t\tKmsKeyArn: jsii.String(\"kmsKeyArn\"),\n\t\t},\n\t},\n\tDeleteLambdaResourcesOnCanaryDeletion: jsii.Boolean(false),\n\tFailureRetentionPeriod: jsii.Number(123),\n\tRunConfig: &RunConfigProperty{\n\t\tActiveTracing: jsii.Boolean(false),\n\t\tEnvironmentVariables: map[string]*string{\n\t\t\t\"environmentVariablesKey\": jsii.String(\"environmentVariables\"),\n\t\t},\n\t\tMemoryInMb: jsii.Number(123),\n\t\tTimeoutInSeconds: jsii.Number(123),\n\t},\n\tStartCanaryAfterCreation: jsii.Boolean(false),\n\tSuccessRetentionPeriod: jsii.Number(123),\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n\tVisualReference: &VisualReferenceProperty{\n\t\tBaseCanaryRunId: jsii.String(\"baseCanaryRunId\"),\n\n\t\t// the properties below are optional\n\t\tBaseScreenshots: []interface{}{\n\t\t\t&BaseScreenshotProperty{\n\t\t\t\tScreenshotName: jsii.String(\"screenshotName\"),\n\n\t\t\t\t// the properties below are optional\n\t\t\t\tIgnoreCoordinates: []*string{\n\t\t\t\t\tjsii.String(\"ignoreCoordinates\"),\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\tVpcConfig: &VPCConfigProperty{\n\t\tSecurityGroupIds: []*string{\n\t\t\tjsii.String(\"securityGroupIds\"),\n\t\t},\n\t\tSubnetIds: []*string{\n\t\t\tjsii.String(\"subnetIds\"),\n\t\t},\n\n\t\t// the properties below are optional\n\t\tVpcId: jsii.String(\"vpcId\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst cfnCanaryProps: synthetics.CfnCanaryProps = {\n artifactS3Location: 'artifactS3Location',\n code: {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n },\n executionRoleArn: 'executionRoleArn',\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n schedule: {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n },\n\n // the properties below are optional\n artifactConfig: {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n },\n deleteLambdaResourcesOnCanaryDeletion: false,\n failureRetentionPeriod: 123,\n runConfig: {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n },\n startCanaryAfterCreation: false,\n successRetentionPeriod: 123,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visualReference: {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnCanaryProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnCanaryProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnCanaryProps: synthetics.CfnCanaryProps = {\n artifactS3Location: 'artifactS3Location',\n code: {\n handler: 'handler',\n\n // the properties below are optional\n s3Bucket: 's3Bucket',\n s3Key: 's3Key',\n s3ObjectVersion: 's3ObjectVersion',\n script: 'script',\n sourceLocationArn: 'sourceLocationArn',\n },\n executionRoleArn: 'executionRoleArn',\n name: 'name',\n runtimeVersion: 'runtimeVersion',\n schedule: {\n expression: 'expression',\n\n // the properties below are optional\n durationInSeconds: 'durationInSeconds',\n },\n\n // the properties below are optional\n artifactConfig: {\n s3Encryption: {\n encryptionMode: 'encryptionMode',\n kmsKeyArn: 'kmsKeyArn',\n },\n },\n deleteLambdaResourcesOnCanaryDeletion: false,\n failureRetentionPeriod: 123,\n runConfig: {\n activeTracing: false,\n environmentVariables: {\n environmentVariablesKey: 'environmentVariables',\n },\n memoryInMb: 123,\n timeoutInSeconds: 123,\n },\n startCanaryAfterCreation: false,\n successRetentionPeriod: 123,\n tags: [{\n key: 'key',\n value: 'value',\n }],\n visualReference: {\n baseCanaryRunId: 'baseCanaryRunId',\n\n // the properties below are optional\n baseScreenshots: [{\n screenshotName: 'screenshotName',\n\n // the properties below are optional\n ignoreCoordinates: ['ignoreCoordinates'],\n }],\n },\n vpcConfig: {\n securityGroupIds: ['securityGroupIds'],\n subnetIds: ['subnetIds'],\n\n // the properties below are optional\n vpcId: 'vpcId',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"8":4,"10":24,"75":44,"91":3,"153":1,"169":1,"192":5,"193":11,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":40,"290":1},"fqnsFingerprint":"513287b1a04e6020016b6d9c471767a88efa4dc9e98ca2a9a043b84d25e918ec"},"a105757786794e723d4d894e8b05fedbe6713de4b12d4ea6cf48384275040b1e":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncfn_group = synthetics.CfnGroup(self, \"MyCfnGroup\",\n name=\"name\",\n\n # the properties below are optional\n resource_arns=[\"resourceArns\"],\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar cfnGroup = new CfnGroup(this, \"MyCfnGroup\", new CfnGroupProps {\n Name = \"name\",\n\n // the properties below are optional\n ResourceArns = new [] { \"resourceArns\" },\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n});","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCfnGroup cfnGroup = CfnGroup.Builder.create(this, \"MyCfnGroup\")\n .name(\"name\")\n\n // the properties below are optional\n .resourceArns(List.of(\"resourceArns\"))\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncfnGroup := synthetics.NewCfnGroup(this, jsii.String(\"MyCfnGroup\"), &CfnGroupProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tResourceArns: []*string{\n\t\tjsii.String(\"resourceArns\"),\n\t},\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n})","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst cfnGroup = new synthetics.CfnGroup(this, 'MyCfnGroup', {\n name: 'name',\n\n // the properties below are optional\n resourceArns: ['resourceArns'],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnGroup"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnGroup","@aws-cdk/aws-synthetics.CfnGroupProps","@aws-cdk/core.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGroup = new synthetics.CfnGroup(this, 'MyCfnGroup', {\n name: 'name',\n\n // the properties below are optional\n resourceArns: ['resourceArns'],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n});\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":6,"75":9,"104":1,"192":2,"193":2,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"af04b0a25c284c1433836bab62f6e0e88aee4bb5259c8b99eb1491b39267892f"},"530938bcdb541fe891ada21bb58bc550ed5371c280421d1d582151c4f87c256a":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncfn_group_props = synthetics.CfnGroupProps(\n name=\"name\",\n\n # the properties below are optional\n resource_arns=[\"resourceArns\"],\n tags=[CfnTag(\n key=\"key\",\n value=\"value\"\n )]\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar cfnGroupProps = new CfnGroupProps {\n Name = \"name\",\n\n // the properties below are optional\n ResourceArns = new [] { \"resourceArns\" },\n Tags = new [] { new CfnTag {\n Key = \"key\",\n Value = \"value\"\n } }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCfnGroupProps cfnGroupProps = CfnGroupProps.builder()\n .name(\"name\")\n\n // the properties below are optional\n .resourceArns(List.of(\"resourceArns\"))\n .tags(List.of(CfnTag.builder()\n .key(\"key\")\n .value(\"value\")\n .build()))\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncfnGroupProps := &CfnGroupProps{\n\tName: jsii.String(\"name\"),\n\n\t// the properties below are optional\n\tResourceArns: []*string{\n\t\tjsii.String(\"resourceArns\"),\n\t},\n\tTags: []cfnTag{\n\t\t&cfnTag{\n\t\t\tKey: jsii.String(\"key\"),\n\t\t\tValue: jsii.String(\"value\"),\n\t\t},\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst cfnGroupProps: synthetics.CfnGroupProps = {\n name: 'name',\n\n // the properties below are optional\n resourceArns: ['resourceArns'],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CfnGroupProps"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CfnGroupProps"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst cfnGroupProps: synthetics.CfnGroupProps = {\n name: 'name',\n\n // the properties below are optional\n resourceArns: ['resourceArns'],\n tags: [{\n key: 'key',\n value: 'value',\n }],\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"153":1,"169":1,"192":2,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"9a7a18e5ef2cb30355fdb10797a9923894649b51746d43649b1ebdfe24b20b72"},"dfb04b7e60a5615eef13430e52ada98d40a654b60fa9bf8c9b089208271dc4e1":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.Code"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"39e410505eea9172bbfa9d9f0d8397715ef8b5cd42ad641c52000fc528d299e4":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ncode_config = synthetics.CodeConfig(\n inline_code=\"inlineCode\",\n s3_location=Location(\n bucket_name=\"bucketName\",\n object_key=\"objectKey\",\n\n # the properties below are optional\n object_version=\"objectVersion\"\n )\n)","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar codeConfig = new CodeConfig {\n InlineCode = \"inlineCode\",\n S3Location = new Location {\n BucketName = \"bucketName\",\n ObjectKey = \"objectKey\",\n\n // the properties below are optional\n ObjectVersion = \"objectVersion\"\n }\n};","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nCodeConfig codeConfig = CodeConfig.builder()\n .inlineCode(\"inlineCode\")\n .s3Location(Location.builder()\n .bucketName(\"bucketName\")\n .objectKey(\"objectKey\")\n\n // the properties below are optional\n .objectVersion(\"objectVersion\")\n .build())\n .build();","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ncodeConfig := &CodeConfig{\n\tInlineCode: jsii.String(\"inlineCode\"),\n\tS3Location: &Location{\n\t\tBucketName: jsii.String(\"bucketName\"),\n\t\tObjectKey: jsii.String(\"objectKey\"),\n\n\t\t// the properties below are optional\n\t\tObjectVersion: jsii.String(\"objectVersion\"),\n\t},\n}","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst codeConfig: synthetics.CodeConfig = {\n inlineCode: 'inlineCode',\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CodeConfig"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.Location","@aws-cdk/aws-synthetics.CodeConfig"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst codeConfig: synthetics.CodeConfig = {\n inlineCode: 'inlineCode',\n s3Location: {\n bucketName: 'bucketName',\n objectKey: 'objectKey',\n\n // the properties below are optional\n objectVersion: 'objectVersion',\n },\n};\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":5,"75":9,"153":1,"169":1,"193":2,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"281":5,"290":1},"fqnsFingerprint":"d73df60a59a94ef5deeacbee59f27bd627fab25c14dcaf35bf255da3f1c88c1f"},"f446ccd994fccb727b33604a3b888c79f5ec91c0287ddd00f02e37ef51eac6b7":{"translations":{"python":{"source":"schedule = synthetics.Schedule.cron(\n hour=\"0,8,16\"\n)","version":"2"},"csharp":{"source":"var schedule = Schedule.Cron(new CronOptions {\n Hour = \"0,8,16\"\n});","version":"1"},"java":{"source":"Schedule schedule = Schedule.cron(CronOptions.builder()\n .hour(\"0,8,16\")\n .build());","version":"1"},"go":{"source":"schedule := synthetics.Schedule_Cron(&CronOptions{\n\tHour: jsii.String(\"0,8,16\"),\n})","version":"1"},"$":{"source":"const schedule = synthetics.Schedule.cron({\n hour: '0,8,16', // Run at 12am, 8am, 4pm UTC every day\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CronOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.CronOptions","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#cron"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst schedule = synthetics.Schedule.cron({\n hour: '0,8,16', // Run at 12am, 8am, 4pm UTC every day\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"10":1,"75":5,"193":1,"194":2,"196":1,"225":1,"242":1,"243":1,"281":1},"fqnsFingerprint":"6f661bd2bfaf6f4bbfad6ca2f95432a9d4eca7a1f8f97871307fb603dc7883e9"},"6a7fb892f25bacd28ef9cfd6417e610d29e70a0330da12d920adeb545fff2d76":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.CustomTestOptions"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"ed494804e3be0527bd67eba8d9c900bd012db28b2d75b63e23e42719557b4666":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_synthetics as synthetics\n\ninline_code = synthetics.InlineCode(\"code\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.Synthetics;\n\nvar inlineCode = new InlineCode(\"code\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.synthetics.*;\n\nInlineCode inlineCode = new InlineCode(\"code\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\ninlineCode := synthetics.NewInlineCode(jsii.String(\"code\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nconst inlineCode = new synthetics.InlineCode('code');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.InlineCode"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.InlineCode"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst inlineCode = new synthetics.InlineCode('code');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":2,"75":4,"194":1,"197":1,"225":1,"242":1,"243":1,"254":1,"255":1,"256":1,"290":1},"fqnsFingerprint":"92c53d9fcd20ece437f4132fefd8fda3eea8fd084b60d1825dd7947b9eb2b171"},"25b8060a68258e80e8fd2b6eca8a17a2809a885b80e27c2a03e8fa45a02f0598":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.Runtime"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"},"5b262a26e35db901718e8d973fe3c4b0b1001794f150b3c46e89796afbf63f91":{"translations":{"python":{"source":"# The code below shows an example of how to instantiate this type.\n# The values are placeholders you should change.\nimport aws_cdk.aws_s3 as s3\nimport aws_cdk.aws_synthetics as synthetics\n\n# bucket: s3.Bucket\n\ns3_code = synthetics.S3Code(bucket, \"key\", \"objectVersion\")","version":"2"},"csharp":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nusing Amazon.CDK.AWS.S3;\nusing Amazon.CDK.AWS.Synthetics;\n\nBucket bucket;\n\nvar s3Code = new S3Code(bucket, \"key\", \"objectVersion\");","version":"1"},"java":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport software.amazon.awscdk.services.s3.*;\nimport software.amazon.awscdk.services.synthetics.*;\n\nBucket bucket;\n\nS3Code s3Code = new S3Code(bucket, \"key\", \"objectVersion\");","version":"1"},"go":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport s3 \"github.com/aws-samples/dummy/awscdkawss3\"\nimport synthetics \"github.com/aws-samples/dummy/awscdkawssynthetics\"\n\nvar bucket bucket\n\ns3Code := synthetics.NewS3Code(bucket, jsii.String(\"key\"), jsii.String(\"objectVersion\"))","version":"1"},"$":{"source":"// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n\ndeclare const bucket: s3.Bucket;\nconst s3Code = new synthetics.S3Code(bucket, 'key', /* all optional props */ 'objectVersion');","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.S3Code"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-s3.IBucket","@aws-cdk/aws-synthetics.S3Code"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\n// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as s3 from '@aws-cdk/aws-s3';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\n\ndeclare const bucket: s3.Bucket;\n/// !hide\n// Hoisted imports ended before !hide marker above\nimport { Construct } from \"@aws-cdk/core\";\nclass MyConstruct extends Construct {\nconstructor(scope: Construct, id: string) {\nsuper(scope, id);\n// Code snippet begins after !show marker below\n/// !show\n\nconst s3Code = new synthetics.S3Code(bucket, 'key', /* all optional props */ 'objectVersion');\n/// !hide\n// Code snippet ended before !hide marker above\n} }","syntaxKindCounter":{"10":4,"75":9,"130":1,"153":1,"169":1,"194":1,"197":1,"225":2,"242":2,"243":2,"254":2,"255":2,"256":2,"290":1},"fqnsFingerprint":"31323c86487d7037669442f6ad729460277c6614eb57c4d6ef16874aeda77528"},"ee70fed357ab75535d6123d58bf9ba38e92ca2dd8457bc12a55fce9fdf679113":{"translations":{"python":{"source":"schedule = synthetics.Schedule.rate(Duration.minutes(5))","version":"2"},"csharp":{"source":"var schedule = Schedule.Rate(Duration.Minutes(5));","version":"1"},"java":{"source":"Schedule schedule = Schedule.rate(Duration.minutes(5));","version":"1"},"go":{"source":"schedule := synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5)))","version":"1"},"$":{"source":"const schedule = synthetics.Schedule.rate(Duration.minutes(5)); // Runs every 5 minutes.","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.Schedule"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst schedule = synthetics.Schedule.rate(Duration.minutes(5));\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"75":6,"194":3,"196":2,"225":1,"242":1,"243":1},"fqnsFingerprint":"201fcd0400e461e94455303e1fd0777a9a254aa24daf1f035b9fecc3a4324227"},"eb092ba90230bb691f23629dc4c0b36fc27baecca87cc0380abc644adb50db2f":{"translations":{"python":{"source":"canary = synthetics.Canary(self, \"MyCanary\",\n schedule=synthetics.Schedule.rate(Duration.minutes(5)),\n test=synthetics.Test.custom(\n code=synthetics.Code.from_asset(path.join(__dirname, \"canary\")),\n handler=\"index.handler\"\n ),\n runtime=synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environment_variables={\n \"stage\": \"prod\"\n }\n)","version":"2"},"csharp":{"source":"var canary = new Canary(this, \"MyCanary\", new CanaryProps {\n Schedule = Schedule.Rate(Duration.Minutes(5)),\n Test = Test.Custom(new CustomTestOptions {\n Code = Code.FromAsset(Join(__dirname, \"canary\")),\n Handler = \"index.handler\"\n }),\n Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n EnvironmentVariables = new Dictionary {\n { \"stage\", \"prod\" }\n }\n});","version":"1"},"java":{"source":"Canary canary = Canary.Builder.create(this, \"MyCanary\")\n .schedule(Schedule.rate(Duration.minutes(5)))\n .test(Test.custom(CustomTestOptions.builder()\n .code(Code.fromAsset(join(__dirname, \"canary\")))\n .handler(\"index.handler\")\n .build()))\n .runtime(Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1)\n .environmentVariables(Map.of(\n \"stage\", \"prod\"))\n .build();","version":"1"},"go":{"source":"canary := synthetics.NewCanary(this, jsii.String(\"MyCanary\"), &CanaryProps{\n\tSchedule: synthetics.Schedule_Rate(awscdkcore.Duration_Minutes(jsii.Number(5))),\n\tTest: synthetics.Test_Custom(&CustomTestOptions{\n\t\tCode: synthetics.Code_FromAsset(path.join(__dirname, jsii.String(\"canary\"))),\n\t\tHandler: jsii.String(\"index.handler\"),\n\t}),\n\tRuntime: synthetics.Runtime_SYNTHETICS_NODEJS_PUPPETEER_3_1(),\n\tEnvironmentVariables: map[string]*string{\n\t\t\"stage\": jsii.String(\"prod\"),\n\t},\n})","version":"1"},"$":{"source":"const canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});","version":"0"}},"location":{"api":{"api":"type","fqn":"@aws-cdk/aws-synthetics.Test"},"field":{"field":"example"}},"didCompile":true,"fqnsReferenced":["@aws-cdk/aws-synthetics.Canary","@aws-cdk/aws-synthetics.CanaryProps","@aws-cdk/aws-synthetics.Code","@aws-cdk/aws-synthetics.Code#fromAsset","@aws-cdk/aws-synthetics.CustomTestOptions","@aws-cdk/aws-synthetics.Runtime","@aws-cdk/aws-synthetics.Runtime#SYNTHETICS_NODEJS_PUPPETEER_3_1","@aws-cdk/aws-synthetics.Schedule","@aws-cdk/aws-synthetics.Schedule#rate","@aws-cdk/aws-synthetics.Test","@aws-cdk/aws-synthetics.Test#custom","@aws-cdk/core.Duration","@aws-cdk/core.Duration#minutes","constructs.Construct"],"fullSource":"// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport { Duration, Stack } from '@aws-cdk/core';\nimport * as synthetics from '@aws-cdk/aws-synthetics';\nimport * as path from 'path';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\nconst canary = new synthetics.Canary(this, 'MyCanary', {\n schedule: synthetics.Schedule.rate(Duration.minutes(5)),\n test: synthetics.Test.custom({\n code: synthetics.Code.fromAsset(path.join(__dirname, 'canary')),\n handler: 'index.handler',\n }),\n runtime: synthetics.Runtime.SYNTHETICS_NODEJS_PUPPETEER_3_1,\n environmentVariables: {\n stage: 'prod',\n },\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}\n","syntaxKindCounter":{"8":1,"10":4,"75":27,"104":1,"193":3,"194":11,"196":5,"197":1,"225":1,"242":1,"243":1,"281":7},"fqnsFingerprint":"436ae8c28cb4980f001126ae56faaedb9660d10fe0b543f082ff823837ad2cb4"}}}