Clean Up Resources
- Clean up IAM service
- In the search bar, type IAM
- On the IAM service page, select Role from the left Navigation Panel
- On the Roles page, search for Lambda and check the Lambda box
- Click the Delete button, enter the Role name: LambdaAnalyzeRole



- Clean up Lambda service
- In the search bar, type Lambda
- On the Lambda service page, select Function from the left Navigation Panel
- Check ProcessInventoryData
- Select Actions, then choose Delete
- In the Delete function prompt, type confirm



- Clean up the DynamoDB service
- In the search bar, type DynamoDB
- On the DynamoDB service page, select Table from the left Navigation Panel
- Check Inventory
- Click Delete, enter confirm



- Clean up the S3 service
- In the search bar, type S3
- On the S3 service page, select General purpose buckets from the left Navigation Panel
- Check iot-log-2025
- Click Empty, enter permanently delete
- Click Delete, enter iot-log-2025





- Clean up AWS IoT Core
- In the search bar, enter AWS IoT Core
- On the AWS IoT Core service page, select Things from the left Navigation Panel
- Select InventorySensor1
- Click Delete, enter InventorySensor1



- On the AWS IoT Core service page, select Rules from the left Navigation Panel
- Select InventoryRule
- Click Delete, enter InventoryRule


- On the AWS IoT Core service page, select Policies from the left Navigation Panel
- Select IoTInventoryPolicy
- Click Delete, enter IoTInventoryPolicy


- In the AWS IoT Core service page, select Certificates from the left Navigation Panel.
- Select 7fa53e8ed2f2f2f0937741775116a7061656dc2ff0b7b66c33085435a223a63e.
- Click Action, select Delete, and enter delete.

