SinkAgentRunParameters

Updated at:

Parameter

Type

Description

Example

object

The delivery parameters for the agent runtime.

AgentRuntimeName

string

The name of the AgentRun agent runtime. You can obtain it from the Alibaba Cloud AgentRun console.

agent-demo-example

Body

object

The triplet configuration for the Body parameter template. It defines the data transformation method and supports two modes: ORIGINAL (pass-through) and TEMPLATE (template replacement).

Form

string

The transformation format. Default value: CONSTANT. Valid values: ORIGINAL, TEMPLATE. Example: ORIGINAL.

ORIGINAL

Template

string

The template pattern. This parameter is required only when Form is set to TEMPLATE. It supports ${variable} placeholder replacement. Example: The value of ${key} is ${value}!.

The value of ${key} is ${value}!

Value

string

The parameter value. In ORIGINAL mode, the value is $. In TEMPLATE mode, the value is a key-value mapping in JSON format, where the value is a JSONPath expression or a constant. Example: $.

$

EndpointName

string

The endpoint name of the AgentRun agent runtime, which is used to construct the invocation URL.

default

RoleName

string

The name of the AgentRun agent role.

example-agent-role

Timeout

string

The HTTP request timeout period in milliseconds. Default value: 30000.

30000