add twilio binding spec (#327)

This commit is contained in:
Yaron Schneider 2020-02-06 13:53:44 -08:00 committed by GitHub
parent 108305a28f
commit 97f215d36c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,24 @@
# Twilio SMS Binding Spec
```
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <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.