<DataLayer/>-component adds a DynamoDB database to your app.
<DataLayer />-component is supported as a direct child of an apps/soa or of a apps/isomorphic-component.
You can have a single DataLayer in an app.
<DataLayer />-component requires you to define the following properties:
idthe unique string that identifies your datalayer.
<DataLayer />-component supports the following infrastructure-components as direct children:
- a Service specifies a backend service that has access to the database.
- an Entry describes the type of items in your database.
<DataLayer /> can have multiple services and entries as children.