iam_policy_version_set_default
Set a specific IAM policy version as the default active version to change access for all attached entities; requires confirm=true.
Instructions
Make a version the default (active) one for a managed policy, changing access for everyone it's attached to; 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": {
"policy_arn": "<policy_arn>",
"version_id": "<version_id>"
},
"name": "iam_policy_version_set_default"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| policy_arn | Yes | ||
| version_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||