Skip to content

Commit

Permalink
feat(synthetics): graduate to stable 🚀 (#27305)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
kaizencc authored Sep 27, 2023
1 parent 68895ff commit dd00d05
Show file tree
Hide file tree
Showing 67 changed files with 394 additions and 902 deletions.
3 changes: 3 additions & 0 deletions packages/@aws-cdk-testing/framework-integ/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ junit.xml
coverage
nyc.config.js

!test/aws-synthetics/test/canaries/**/*


!**/*.snapshot/**/asset.*/*.js
!**/*.snapshot/**/asset.*/*.d.ts

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { App, Stack, StackProps } from 'aws-cdk-lib';
import { App, Stack, StackProps } from 'aws-cdk-lib/core';
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
import { Construct } from 'constructs';
import * as synthetics from '../lib';
import * as synthetics from 'aws-cdk-lib/aws-synthetics';
import { AwsCustomResource, AwsCustomResourcePolicy, PhysicalResourceId } from 'aws-cdk-lib/custom-resources';

class TestStack extends Stack {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import * as path from 'path';
import * as apigateway from 'aws-cdk-lib/aws-apigateway';
import * as s3 from 'aws-cdk-lib/aws-s3';
import * as cdk from 'aws-cdk-lib';
import { Canary, Cleanup, Code, Runtime, Schedule, Test } from '../lib';
import * as cdk from 'aws-cdk-lib/core';
import { Canary, Cleanup, Code, Runtime, Schedule, Test } from 'aws-cdk-lib/aws-synthetics';
import { ExpectedResult, IntegTest } from '@aws-cdk/integ-tests-alpha';
import { RemovalPolicy } from 'aws-cdk-lib';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import * as path from 'path';
import * as ec2 from 'aws-cdk-lib/aws-ec2';
import * as cdk from 'aws-cdk-lib';
import * as synthetics from '../lib';
import * as cdk from 'aws-cdk-lib/core';
import * as synthetics from 'aws-cdk-lib/aws-synthetics';

/*
* Stack verification steps:
Expand Down
8 changes: 0 additions & 8 deletions packages/@aws-cdk/aws-synthetics-alpha/.eslintrc.js

This file was deleted.

28 changes: 0 additions & 28 deletions packages/@aws-cdk/aws-synthetics-alpha/.gitignore

This file was deleted.

33 changes: 0 additions & 33 deletions packages/@aws-cdk/aws-synthetics-alpha/.npmignore

This file was deleted.

201 changes: 0 additions & 201 deletions packages/@aws-cdk/aws-synthetics-alpha/LICENSE

This file was deleted.

2 changes: 0 additions & 2 deletions packages/@aws-cdk/aws-synthetics-alpha/NOTICE

This file was deleted.

Loading

0 comments on commit dd00d05

Please sign in to comment.