![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.pipes.kotlin.inputs.PipeLogConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.inputs
import com.pulumi.awsnative.pipes.inputs.PipeLogConfigurationArgs.builder
import com.pulumi.awsnative.pipes.kotlin.enums.PipeIncludeExecutionDataOption
import com.pulumi.awsnative.pipes.kotlin.enums.PipeLogLevel
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property cloudwatchLogsLogDestination The logging configuration settings for the pipe.
* @property firehoseLogDestination The Amazon Data Firehose logging configuration settings for the pipe.
* @property includeExecutionData Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe.
* This applies to all log destinations for the pipe.
* For more information, see [Including execution data in logs](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data) in the *Amazon EventBridge User Guide* .
* *Allowed values:* `ALL`
* @property level The level of logging detail to include. This applies to all log destinations for the pipe.
* @property s3LogDestination The Amazon S3 logging configuration settings for the pipe.
*/
public data class PipeLogConfigurationArgs(
public val cloudwatchLogsLogDestination: Output? = null,
public val firehoseLogDestination: Output? = null,
public val includeExecutionData: Output>? = null,
public val level: Output? = null,
public val s3LogDestination: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pipes.inputs.PipeLogConfigurationArgs =
com.pulumi.awsnative.pipes.inputs.PipeLogConfigurationArgs.builder()
.cloudwatchLogsLogDestination(
cloudwatchLogsLogDestination?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.firehoseLogDestination(
firehoseLogDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.includeExecutionData(
includeExecutionData?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.level(level?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3LogDestination(
s3LogDestination?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [PipeLogConfigurationArgs].
*/
@PulumiTagMarker
public class PipeLogConfigurationArgsBuilder internal constructor() {
private var cloudwatchLogsLogDestination: Output? = null
private var firehoseLogDestination: Output? = null
private var includeExecutionData: Output>? = null
private var level: Output? = null
private var s3LogDestination: Output? = null
/**
* @param value The logging configuration settings for the pipe.
*/
@JvmName("kfqjxokhpjrkyltp")
public suspend fun cloudwatchLogsLogDestination(`value`: Output) {
this.cloudwatchLogsLogDestination = value
}
/**
* @param value The Amazon Data Firehose logging configuration settings for the pipe.
*/
@JvmName("gbdqcmislvoubygp")
public suspend fun firehoseLogDestination(`value`: Output) {
this.firehoseLogDestination = value
}
/**
* @param value Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe.
* This applies to all log destinations for the pipe.
* For more information, see [Including execution data in logs](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data) in the *Amazon EventBridge User Guide* .
* *Allowed values:* `ALL`
*/
@JvmName("qhhdwfllwlvimqxh")
public suspend fun includeExecutionData(`value`: Output>) {
this.includeExecutionData = value
}
@JvmName("vufnxeyasghefujb")
public suspend fun includeExecutionData(vararg values: Output) {
this.includeExecutionData = Output.all(values.asList())
}
/**
* @param values Whether the execution data (specifically, the `payload` , `awsRequest` , and `awsResponse` fields) is included in the log messages for this pipe.
* This applies to all log destinations for the pipe.
* For more information, see [Including execution data in logs](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-logs.html#eb-pipes-logs-execution-data) in the *Amazon EventBridge User Guide* .
* *Allowed values:* `ALL`
*/
@JvmName("kgbixspnwfpnahjk")
public suspend fun includeExecutionData(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy