Skip to content

Commit dd00d05

Browse files
authored
feat(synthetics): graduate to stable 🚀 (#27305)
We are excited to graduate the `@aws-cdk/aws-synthetics-alpha` module to STABLE. It now lives on as `aws-cdk-lib/aws-synthetics`. **Deprecated properties removed**: - Runtimes before `SYNTHETICS_NODEJS_PUPPETEER_3_5` have been removed from the stable module. Use a later version instead. - `enableAutoDeleteLambdas` has been removed from the stable module. Use `cleanup: Cleanup.LAMBDA` instead, which achieves the same affect via custom resource. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 68895ff commit dd00d05

File tree

67 files changed

+394
-902
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+394
-902
lines changed

packages/@aws-cdk-testing/framework-integ/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ junit.xml
99
coverage
1010
nyc.config.js
1111

12+
!test/aws-synthetics/test/canaries/**/*
13+
14+
1215
!**/*.snapshot/**/asset.*/*.js
1316
!**/*.snapshot/**/asset.*/*.d.ts
1417

packages/@aws-cdk/aws-synthetics-alpha/test/integ.canary-auto-delete-lambda.ts renamed to packages/@aws-cdk-testing/framework-integ/test/aws-synthetics/test/integ.canary-auto-delete-lambda.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { App, Stack, StackProps } from 'aws-cdk-lib';
1+
import { App, Stack, StackProps } from 'aws-cdk-lib/core';
22
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
33
import { Construct } from 'constructs';
4-
import * as synthetics from '../lib';
4+
import * as synthetics from 'aws-cdk-lib/aws-synthetics';
55
import { AwsCustomResource, AwsCustomResourcePolicy, PhysicalResourceId } from 'aws-cdk-lib/custom-resources';
66

77
class TestStack extends Stack {

packages/@aws-cdk/aws-synthetics-alpha/test/integ.canary.ts renamed to packages/@aws-cdk-testing/framework-integ/test/aws-synthetics/test/integ.canary.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import * as path from 'path';
44
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
55
import * as s3 from 'aws-cdk-lib/aws-s3';
6-
import * as cdk from 'aws-cdk-lib';
7-
import { Canary, Cleanup, Code, Runtime, Schedule, Test } from '../lib';
6+
import * as cdk from 'aws-cdk-lib/core';
7+
import { Canary, Cleanup, Code, Runtime, Schedule, Test } from 'aws-cdk-lib/aws-synthetics';
88
import { ExpectedResult, IntegTest } from '@aws-cdk/integ-tests-alpha';
99
import { RemovalPolicy } from 'aws-cdk-lib';
1010

packages/@aws-cdk/aws-synthetics-alpha/test/integ.vpc.ts renamed to packages/@aws-cdk-testing/framework-integ/test/aws-synthetics/test/integ.vpc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import * as path from 'path';
44
import * as ec2 from 'aws-cdk-lib/aws-ec2';
5-
import * as cdk from 'aws-cdk-lib';
6-
import * as synthetics from '../lib';
5+
import * as cdk from 'aws-cdk-lib/core';
6+
import * as synthetics from 'aws-cdk-lib/aws-synthetics';
77

88
/*
99
* Stack verification steps:

packages/@aws-cdk/aws-synthetics-alpha/.eslintrc.js

-8
This file was deleted.

packages/@aws-cdk/aws-synthetics-alpha/.gitignore

-28
This file was deleted.

packages/@aws-cdk/aws-synthetics-alpha/.npmignore

-33
This file was deleted.

packages/@aws-cdk/aws-synthetics-alpha/LICENSE

-201
This file was deleted.

packages/@aws-cdk/aws-synthetics-alpha/NOTICE

-2
This file was deleted.

0 commit comments

Comments
 (0)