mirror of https://github.com/dapr/docs.git
add twilio binding spec (#327)
This commit is contained in:
parent
108305a28f
commit
97f215d36c
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue