Tips for using TriggerMesh on Kubernetes
Using kubectl explain
You can explore the specification of any TriggerMesh object using the
kubectl explain command. For example applying the command to the AWS SQS Source, you will see that you need the ARN (i.e Amazon Resource Name) of your AWS SQS queue and the AWS API keys that give you access to SQS.
$ kubectl explain awssqssource.spec KIND: AWSSQSSource VERSION: sources.triggermesh.io/v1alpha1 RESOURCE: spec <Object> DESCRIPTION: Desired state of the event source. FIELDS: adapterOverrides <Object> Kubernetes object parameters to apply on top of default adapter values. arn <string> -required- ARN of the Amazon SQS queue to consume messages from. The expected format is documented at https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsqs.html#amazonsqs-resources-for-iam-policies. auth <Object> Authentication method to interact with the Amazon SQS API. endpoint <Object> Customizations of the AWS REST API endpoint. messageProcessor <string> Name of the message processor to use for converting SQS messages to CloudEvents. Supported values are "default" and "s3". receiveOptions <Object> Options that control the behavior of message receivers. sink <Object> -required- The destination of events sourced from Amazon SQS.