Docs: add guide for customizing CDK stacks (e.g., adding DynamoDB with permissions)
- Vorherrschende Sprache
- TypeScript
- Sterne
- 283
- Forks
- 95
- Ø Merge
- 1 T. 2 Std.
- Gemergte PRs (30 T.)
- 183
Beschreibung
## Description
There is no documentation to help users customize CDK stacks — for example, adding a custom DynamoDB table and granting the agent read-write permissions to it. Currently users have to figure this out on their own by:
1. Adding a stack in `agentcore/cdk/lib/dynamodb-stack.ts`
2. Referencing the stack in `agentcore/cdk/bin/cdk.ts`
This was not a straightforward process and should be documented.
## Steps to Reproduce
1. Try to add a custom AWS resource (e.g., DynamoDB table) to the CDK stack
2. Search the docs for guidance on customizing CDK stacks and wiring permissions
## Expected Behavior
Documentation should exist covering:
- How to add custom CDK stacks (e.g., DynamoDB, S3)
- How to reference new stacks in `cdk.ts`
- How to grant the agent IAM permissions to custom resources
- General guidance on interacting with and customizing the generated CDK code
## Actual Behavior
No documentation exists for CDK customization. Users must reverse-engineer the structure.
## CLI Version
_N/A_
## Operating System
macOS
Beitragsleitfaden
Rechercherichtung
Beginne damit, agentcore/cdk/lib/dynamodb-stack.ts und agentcore/cdk/bin/cdk.ts zu lesen, um zu verstehen, wie generierte CDK-Stacks definiert und referenziert werden. Füge eine Anleitung hinzu, die benutzerdefinierte DynamoDB- oder S3-Stacks, ihre Einbindung über cdk.ts und das Gewähren von IAM-Berechtigungen für den Agenten abdeckt; die Aufgabe gilt als erledigt, wenn Benutzer dem dokumentierten Prozess folgen können, ohne den generierten CDK-Code durch Reverse Engineering nachvollziehen zu müssen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, typescript
- Bereich
- documentation, infrastructure
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 74/100