generate_iam_role_advanced
Generate IAM role with policies, trust relationships, and permissions boundary
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": {
"roleName": "<roleName>",
"trustedService": "<trustedService>"
},
"name": "generate_iam_role_advanced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Resource tags | |
| roleName | Yes | IAM role name | |
| inlinePolicy | No | Inline policy document | |
| conditionKeys | No | IAM condition keys for trust policy | |
| trustedService | Yes | Trusted AWS service (e.g. lambda.amazonaws.com, ec2.amazonaws.com) | |
| managedPolicies | No | Managed policy ARNs to attach | |
| maxSessionDuration | No | Maximum session duration in seconds | |
| permissionsBoundary | No | Permissions boundary policy ARN |