aws / aws/agentcore-cli

Docs: add guide for customizing CDK stacks (e.g., adding DynamoDB with permissions)

Aperta
#672 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub
documentation
Lingua principale
TypeScript
Stelle
283
Fork
95
Merge medio
1g 2h
PR unite (30g)
183

Descrizione

## 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo agentcore/cdk/lib/dynamodb-stack.ts e agentcore/cdk/bin/cdk.ts per capire come vengono definiti e referenziati gli stack CDK generati. Aggiungi una guida che tratti gli stack DynamoDB o S3 personalizzati, il loro collegamento tramite cdk.ts e la concessione delle autorizzazioni IAM all’agente; il lavoro è completato quando gli utenti possono seguire il processo documentato senza dover fare reverse engineering del codice CDK generato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, typescript
Ambito
documentation, infrastructure
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Specificata chiaramente
Idoneità per principianti
74/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.