aws / aws/agentcore-cli

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

Abierto
#672 0 comentarios 2 reacciones 0 asignados Ver en GitHub
documentation
Lenguaje dominante
TypeScript
Estrellas
290
Forks
96
Merge medio
1 d 2 h
PR fusionados (30 d)
183

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza leyendo agentcore/cdk/lib/dynamodb-stack.ts y agentcore/cdk/bin/cdk.ts para entender cómo se definen y referencian los stacks de CDK generados. Añade una guía que cubra los stacks personalizados de DynamoDB o S3, cómo conectarlos mediante cdk.ts y cómo conceder permisos de IAM al agente; se considerará terminado cuando los usuarios puedan seguir el proceso documentado sin tener que hacer ingeniería inversa del código CDK generado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, typescript
Área
documentation, infrastructure
Tipo de issue
Documentación
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bien especificado
Aptitud para principiantes
74/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.