CcpResponseConfigArgs

data class CcpResponseConfigArgs(val compressionAlgo: Output<String>? = null, val convertChildPropertiesToArray: Output<Boolean>? = null, val csvDelimiter: Output<String>? = null, val csvEscape: Output<String>? = null, val eventsJsonPaths: Output<List<String>>, val format: Output<String>? = null, val hasCsvBoundary: Output<Boolean>? = null, val hasCsvHeader: Output<Boolean>? = null, val isGzipCompressed: Output<Boolean>? = null, val successStatusJsonPath: Output<String>? = null, val successStatusValue: Output<String>? = null) : ConvertibleToJava<CcpResponseConfigArgs>

A custom response configuration for a rule.

Constructors

Link copied to clipboard
constructor(compressionAlgo: Output<String>? = null, convertChildPropertiesToArray: Output<Boolean>? = null, csvDelimiter: Output<String>? = null, csvEscape: Output<String>? = null, eventsJsonPaths: Output<List<String>>, format: Output<String>? = null, hasCsvBoundary: Output<Boolean>? = null, hasCsvHeader: Output<Boolean>? = null, isGzipCompressed: Output<Boolean>? = null, successStatusJsonPath: Output<String>? = null, successStatusValue: Output<String>? = null)

Properties

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

The compression algorithm. For Example: 'gzip', 'multi-gzip', 'deflate'.

Link copied to clipboard

The value indicating whether the response isn't an array of events / logs. By setting this flag to true it means the remote server will response with an object which each property has as a value an array of events / logs.

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

The csv delimiter, in case the response format is CSV.

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

The character used to escape characters in CSV.

Link copied to clipboard

The json paths, '$' char is the json root.

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

The response format. possible values are json,csv,xml

Link copied to clipboard
val hasCsvBoundary: Output<Boolean>? = null

The value indicating whether the response has CSV boundary in case the response in CSV format.

Link copied to clipboard
val hasCsvHeader: Output<Boolean>? = null

The value indicating whether the response has headers in case the response in CSV format.

Link copied to clipboard
val isGzipCompressed: Output<Boolean>? = null

The value indicating whether the remote server support Gzip and we should expect Gzip response.

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

The value where the status message/code should appear in the response.

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

The status value.

Functions

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