PM: Cleanup & Conclusion

Congratulations!

You have successfully completed this exercise.

We’ve shown, how easy it is to setup AWS IoT Environment and SAP Preventive maintence with AWS CDK.

Cleanup

The destroy operation (below) will fail unless we first remove (or save somewhere else) the objects in the S3 bucket we used to store the IoT Analytics data. Get the name of the bucket from the analytics-outputs.json file we created in the deploy operation.

aws s3 rm <analytics.AnalyticsBucketURI> --recursive

cdk destroy --all