generate_cdk_construct
Generate CDK L2/L3 construct in TypeScript with props interface and tests
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": {
"constructName": "<constructName>",
"resources": "<resources>"
},
"name": "generate_cdk_construct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Construct scope (stack, app) | |
| language | No | CDK language | |
| resources | Yes | AWS resources to include in the construct | |
| testIncluded | No | Include unit tests | |
| constructName | Yes | CDK construct name | |
| propsInterface | No | Custom props interface definition |