@amazon-codecatalyst/blueprints.sam-serverless-application
Version:
This blueprint creates a project that leverages a serverless application model (SAM) to quickly create and deploy an API. You can choose Java, TypeScript, or Python as the programming language
22 lines (15 loc) • 463 B
Markdown
into projects. They
represent a self-contained project feature.
When a component is created, it is associated with a specific project:
```ts
const p = new Project(...);
new MyComponent(p);
new YourComponent(p, { /* options */ });
```
Projects can be queried for which components have been added to them:
```ts
for (const c of p.components) {
// do something with `component`
}
```
Components are building blocks that can be composed together