AWS SNS binding spec

Detailed documentation on the AWS SNS binding component

配置

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

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <NAME>
  namespace: <NAMESPACE>
spec:
  type: bindings.aws.sns
  version: v1
  metadata:
  - name: topicArn
    value: mytopic
  - name: region
    value: us-west-2
  - name: accessKey
    value: *****************
  - name: secretKey
    value: *****************
  - name: sessionToken
    value: *****************

元数据字段规范

字段 必填 绑定支持 详情 Example
topicArn Y 输出 The SNS topic name "arn:::topicarn"
region Y 输出 The specific AWS region "us-east-1"
accessKey Y 输出 要访问此资源的 AWS 访问密钥 "key"
secretKey Y 输出 要访问此资源的 AWS 密钥访问 Key "secretAccessKey"
sessionToken N 输出 要使用的 AWS 会话令牌 "sessionToken"

绑定支持

字段名为 ttlInSeconds

  • create

相关链接

Last modified January 1, 0001