s3_configure_lifecycle
Set S3 lifecycle rules to transition or expire objects based on retention days, supporting cost optimization, compliance, archiving, and cleanup strategies.
Instructions
Configure S3 lifecycle rules for storage class transitions and expiration
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"bucket_name": "<bucket_name>",
"strategy": "<strategy>"
},
"name": "s3_configure_lifecycle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| strategy | Yes | Lifecycle strategy | |
| bucket_name | Yes | S3 bucket name | |
| retention_days | No | Number of days before transition or expiration |