AWS DynamoDB binding spec

Detailed documentation on the AWS DynamoDB binding component

Component format

To setup AWS DynamoDB binding create a component of type bindings.aws.dynamodb. See this guide on how to create and apply a binding configuration.

See Authenticating to AWS for information about authentication-related attributes

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.aws.dynamodb
  8. version: v1
  9. metadata:
  10. - name: table
  11. value: items
  12. - name: region
  13. value: us-west-2
  14. - name: accessKey
  15. value: *****************
  16. - name: secretKey
  17. value: *****************
  18. - name: sessionToken
  19. value: *****************

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

Spec metadata fields

FieldRequiredBinding supportDetailsExample
tableYOutputThe DynamoDB table name“items”
regionYOutputThe specific AWS region the AWS DynamoDB instance is deployed in“us-east-1”
accessKeyYOutputThe AWS Access Key to access this resource“key”
secretKeyYOutputThe AWS Secret Access Key to access this resource“secretAccessKey”
sessionTokenNOutputThe AWS session token to use“sessionToken”

Binding support

This component supports output binding with the following operations:

  • create

Related links

Last modified March 18, 2021: Merge pull request #1321 from dapr/aacrawfi/logos (9a399d5)