CmdID / aws / aws s3tables
aws s3tables put-table-record-expiration-configuration
Creates or updates the expiration configuration settings for records in a table, including the status of the configuration. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--table-arnThe Amazon Resource Name (ARN) of the table.--valueThe record expiration configuration to apply to the table, including the status (enabled or disabled) and retention period in days.