Skip to content

Commit d2effe9

Browse files
refactor(providers): convert remaining AWS providers to declarative definitions
Migrate the seven hand-written ServiceProvider subclasses (CloudFormation, DynamoDB, IAM, Lambda, SNS, SQS, Step Functions) to declarative ServiceDefinitions executed by the engine, and delete the now-orphaned client wrappers. IMPERATIVE_PROVIDERS is now an empty (documented) escape hatch. Add a `list` detail-spec to the declarative engine/types so variable-length sections (DynamoDB attributes/key schema, CloudFormation parameters/outputs) can be expressed declaratively — the one capability the FieldSpec model previously lacked. Behavior preserved incl. CFN mapping (SQS queue-URL split, Lambda type-prefixed names, States still unmapped) and metamodel op maps. Two intentional normalizations to match existing declarative providers: no redundant "Resource Type" row, and missing values render as "" rather than "N/A". Add engine list-spec tests and a batch2 provider test suite. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4760d6e commit d2effe9

25 files changed

Lines changed: 1440 additions & 1485 deletions

File tree

src/platforms/aws/clients/dynamodb.ts

Lines changed: 0 additions & 85 deletions
This file was deleted.

src/platforms/aws/clients/lambda.ts

Lines changed: 0 additions & 111 deletions
This file was deleted.

src/platforms/aws/clients/sns.ts

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/platforms/aws/clients/sqs.ts

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)