From 97f215d36c3fa66e8e8360ca40788f58314d9a1c Mon Sep 17 00:00:00 2001 From: Yaron Schneider Date: Thu, 6 Feb 2020 13:53:44 -0800 Subject: [PATCH] add twilio binding spec (#327) --- concepts/bindings/README.md | 1 + concepts/bindings/specs/twilio.md | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 concepts/bindings/specs/twilio.md diff --git a/concepts/bindings/README.md b/concepts/bindings/README.md index 22327d5db..2396c8f1b 100644 --- a/concepts/bindings/README.md +++ b/concepts/bindings/README.md @@ -35,6 +35,7 @@ Every binding has its own unique set of properties. Click the name link to see t | [Azure Service Bus Queues](./specs/servicebusqueues.md) | V | V | Experimental | | [GCP Cloud Pub/Sub](./specs/gcppubsub.md) | V | V | Experimental | | [Kubernetes Events](./specs/kubernetes.md) | V | | Experimental | +| [Twilio SMS](./specs/twilio.md) | | V | Experimental | ## Input Bindings diff --git a/concepts/bindings/specs/twilio.md b/concepts/bindings/specs/twilio.md new file mode 100644 index 000000000..d29c7a5e7 --- /dev/null +++ b/concepts/bindings/specs/twilio.md @@ -0,0 +1,24 @@ +# Twilio SMS Binding Spec + +``` +apiVersion: dapr.io/v1alpha1 +kind: Component +metadata: + name: +spec: + type: bindings.twilio.sms + metadata: + - name: toNumber # required. + value: 111-111-1111 + - name: fromNumber # required. + value: 222-222-2222 + - name: accountSid # required. + value: ***************** + - name: authToken # required. + value: ***************** +``` + +`toNumber` is the target number to send the sms to. +`fromNumber` is the sender phone number. +`accountSid` is the twilio account SID. +`authToken` is the twilio auth token.