PipelineDestinationHttpEndpointArgs

data class PipelineDestinationHttpEndpointArgs(val messageBindingTemplate: Output<String>? = null, val uri: Output<String>) : ConvertibleToJava<PipelineDestinationHttpEndpointArgs>

Constructors

Link copied to clipboard
constructor(messageBindingTemplate: Output<String>? = null, uri: Output<String>)

Properties

Link copied to clipboard
val messageBindingTemplate: Output<String>? = null

The CEL expression used to modify how the destination-bound HTTP request is constructed. If a binding expression is not specified here, the message is treated as a CloudEvent and is mapped to the HTTP request according to the CloudEvent HTTP Protocol Binding Binary Content Mode (https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/http-protocol-binding.md#31-binary-content-mode). In this representation, all fields except the data and datacontenttype field on the message are mapped to HTTP request headers with a prefix of ce-. To construct the HTTP request payload and the value of the content-type HTTP header, the payload format is defined as follows:

Link copied to clipboard
val uri: Output<String>

The URI of the HTTP enpdoint. The value must be a RFC2396 URI string. Examples: https://svc.us-central1.p.local:8080/route. Only the HTTPS protocol is supported.

Functions

Link copied to clipboard
open override fun toJava(): PipelineDestinationHttpEndpointArgs