cache\_dynamo\_based ==================== .. note:: **TTL and automatic DynamoDB cleanup** When *ttl* is set, an expired entry is **deleted from DynamoDB** at the moment it is first read back after expiry, no DynamoDB native TTL configuration or background job is required to keep the table clean. Because TTLs are typically set to hours or days, expirations are infrequent; the extra ``DeleteItem`` call on each expiry has negligible overhead compared to the cost of recomputing the cached value. .. automodule:: core_aws.decorators.cache_dynamo_based :members: :undoc-members: :show-inheritance: :private-members: