CmdID / aws / aws dynamodb
aws dynamodb update-time-to-live
The UpdateTimeToLive method enables or disables Time to Live (TTL) for the specified table. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--table-nameThe name of the table to be configured.--time-to-live-specificationRepresents the settings used to enable or disable Time to Live for the specified table.