Closed TheKnightCoder closed 3 months ago
You can easily do that with the transform property
transform: { table: { ttl: { attributeName: 'expiresAt', enabled: true }, }, },
Thanks @JanStevens!
In v0.0.326, you can set ttl as a top level arg for the Dynamo component — https://ion.sst.dev/docs/component/aws/dynamo/#ttl
ttl
Dynamo
You can easily do that with the transform property