aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin

More documentation with samples in typescript

Abierto
#102 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
TypeScript
Estrellas
46
Forks
18
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

There's this [walkthrough](https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-walkthrough.html) but it's using *java* as the language, and it's not very easy to understand.

From the documentation perspective, I don't understand how to call `dynamodb` from the handlers for example. It looks like I need to use the `SessionProxy`, but it's not documented how to get a hold of *dynamodb* aws client.
In the *init* example:
```
// Example:
try {
if (session instanceof SessionProxy) {
const client = session.client('S3');
}
```
1. Where's the documentation of which *string* should I pass in the `.client([string])` to get dynamodb, stepfunction (or others) clients?

2. Even after I run `npm install` to install the dependencies, VSCode still does not find `@amazon-web-services-cloudformation/cloudformation-cli-typescript-lib`

![image](https://user-images.githubusercontent.com/165290/223207562-8edf36ff-863d-4242-99fe-a7b3ea716c62.png)

3. Also, do I need to implement all "create, update, list, read..." operations? I was looking for to implement only *create*, *update* and *delete*.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Revisa la guía enlazada sobre tipos de recursos de AWS CloudFormation y el ejemplo de inicialización de TypeScript con SessionProxy. Verifica cómo se nombran y obtienen los clientes de servicio, como DynamoDB, por qué VSCode no encuentra la biblioteca de TypeScript instalada y qué handlers son necesarios; se considera terminado cuando la guía responde a estas preguntas con ejemplos funcionales.

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

Evaluación

Stack tecnológico
aws, nodejs, typescript
Área
developer-experience, documentation
Tipo de issue
Documentación
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.