
Security News
Potemkin Understanding in LLMs: New Study Reveals Flaws in AI Benchmarks
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
serverless-dynamodb-ttl
Advanced tools
It's not possible to use DynamoDB's TTL feature with CloudFormation yet. Use this plugin to configure TTL for your DynamoDB with Serverless.
Add the npm package to your project:
# Via yarn
$ yarn add serverless-dynamodb-ttl
# Via npm
$ npm install serverless-dynamodb-ttl --save
Add the plugin to your serverless.yml
:
plugins:
- serverless-dynamodb-ttl
Configure TTL in serverless.yml
:
custom:
dynamodb:
ttl:
- table: your-dynamodb-table-name
field: your-ttl-property-name
That's it! After the next deployment (sls deploy
) serverless will configure your TTL properties in DynamoDB.
Feel free to use the code, it's released using the MIT license.
You are more than welcome to contribute to this project! 😘
To make sure you have a pleasant experience, please read our code of conduct. It outlines our core values and believes and will make working together a happier experience.
# Via yarn
$ yarn test
# Via npm
$ npm test
This will also run standardjs to ensure the changes match the desired code style.
FAQs
Serverless plugin to configure DynamoDB TTL
The npm package serverless-dynamodb-ttl receives a total of 500 weekly downloads. As such, serverless-dynamodb-ttl popularity was classified as not popular.
We found that serverless-dynamodb-ttl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.