bucket_replication_set
Configure or replace a bucket's replication settings to replicate new objects to a destination bucket, including cross-account roles, rules, and delete-marker replication.
Instructions
Replace a bucket's replication configuration, replicating new objects to destination_bucket. rules ({id, prefix, tags, priority, enabled, delete_marker_replication}) default to the whole bucket. Same account: leave role empty; cross-account: give role (ARN), destination_account and optionally owner_translation. Both buckets must have the same versioning state; existing objects need bucket_replication_backfill. Needs confirm=true.
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": "<bucket>",
"destination_bucket": "<destination_bucket>"
},
"name": "bucket_replication_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| rules | No | ||
| bucket | Yes | ||
| region | No | ||
| confirm | No | ||
| owner_translation | No | ||
| destination_bucket | Yes | ||
| destination_region | No | ||
| destination_account | No | ||
| delete_marker_replication | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||