AWS SNS binding spec

Detailed documentation on the AWS SNS binding component

Component format

To setup AWS SNS binding create a component of type bindings.aws.sns. 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.sns
  8. version: v1
  9. metadata:
  10. - name: topicArn
  11. value: mytopic
  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
topicArnYOutputThe SNS topic name“arn:::topicarn”
regionYOutputThe specific AWS region“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

Last modified February 18, 2022: Update setup-jetstream.md (#2200) (428d8c2)