From c6e8f1e529d6783cff713b95331c2856c61e59cc Mon Sep 17 00:00:00 2001 From: Eileen Yu <48944635+Eileen-Yu@users.noreply.github.com> Date: Fri, 7 Jun 2024 21:14:58 -0700 Subject: [PATCH] docs: add endpoint field to aws sns (#4189) Signed-off-by: Eileen Yu --- .../components-reference/supported-bindings/sns.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-bindings/sns.md b/daprdocs/content/en/reference/components-reference/supported-bindings/sns.md index 6e2500aa6..094d763a4 100644 --- a/daprdocs/content/en/reference/components-reference/supported-bindings/sns.md +++ b/daprdocs/content/en/reference/components-reference/supported-bindings/sns.md @@ -26,6 +26,8 @@ spec: value: "mytopic" - name: region value: "us-west-2" + - name: endpoint + value: "sns.us-west-2.amazonaws.com" - name: accessKey value: "*****************" - name: secretKey @@ -42,11 +44,12 @@ The above example uses secrets as plain strings. It is recommended to use a secr | Field | Required | Binding support | Details | Example | |--------------------|:--------:|------------|-----|---------| -| `topicArn` | Y | Output | The SNS topic name | `"arn:::topicarn"` | -| `region` | Y | Output | The specific AWS region | `"us-east-1"` | -| `accessKey` | Y | Output | The AWS Access Key to access this resource | `"key"` | -| `secretKey` | Y | Output | The AWS Secret Access Key to access this resource | `"secretAccessKey"` | -| `sessionToken` | N | Output | The AWS session token to use | `"sessionToken"` | +| `topicArn` | Y | Output | The SNS topic name | `"arn:::topicarn"` | +| `region` | Y | Output | The specific AWS region | `"us-east-1"` | +| `endpoint` | N | Output | The specific AWS endpoint | `"sns.us-east-1.amazonaws.com"` | +| `accessKey` | Y | Output | The AWS Access Key to access this resource | `"key"` | +| `secretKey` | Y | Output | The AWS Secret Access Key to access this resource | `"secretAccessKey"` | +| `sessionToken` | N | Output | The AWS session token to use | `"sessionToken"` | {{% alert title="Important" color="warning" %}} When running the Dapr sidecar (daprd) with your application on EKS (AWS Kubernetes), if you're using a node/pod that has already been attached to an IAM policy defining access to AWS resources, you **must not** provide AWS access-key, secret-key, and tokens in the definition of the component spec you're using.