generate_transform_iam_policy
Generate IAM role + scoped policy CloudFormation for AWS Transform — least-privilege S3 r/w + KMS decrypt for source artifacts
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>",
"sourceBucket": "<sourceBucket>",
"outputBucket": "<outputBucket>"
},
"name": "generate_transform_iam_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kmsKeyId | No | Optional KMS key ID for SSE-KMS-encrypted source/output buckets | |
| roleName | Yes | IAM role name | |
| outputBucket | Yes | S3 bucket where Transform writes the modernized output | |
| sourceBucket | Yes | S3 bucket holding the legacy artifacts to be modernized | |
| transformKind | No | dotnet | mainframe | vmware (default dotnet) |