dynamodb_update_ttl
Enable or disable Time to Live (TTL) settings for a DynamoDB table by specifying the table name, TTL status, and attribute name.
Instructions
Update the TTL settings for a table
Input Schema
Name | Required | Description | Default |
---|---|---|---|
table_name | Yes | Name of the DynamoDB table | |
ttl_attribute | Yes | The attribute name to use for TTL | |
ttl_enabled | Yes | Whether TTL should be enabled |
Input Schema (JSON Schema)
{
"properties": {
"table_name": {
"description": "Name of the DynamoDB table",
"type": "string"
},
"ttl_attribute": {
"description": "The attribute name to use for TTL",
"type": "string"
},
"ttl_enabled": {
"description": "Whether TTL should be enabled",
"type": "boolean"
}
},
"required": [
"table_name",
"ttl_enabled",
"ttl_attribute"
],
"type": "object"
}