
com.pulumi.awsnative.pipes.kotlin.outputs.PipeS3LogDestination.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.outputs
import com.pulumi.awsnative.pipes.kotlin.enums.PipeS3OutputFormat
import kotlin.String
import kotlin.Suppress
/**
*
* @property bucketName The name of the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
* @property bucketOwner The AWS account that owns the Amazon S3 bucket to which EventBridge delivers the log records for the pipe.
* @property outputFormat The format EventBridge uses for the log records.
* - `json` : JSON
* - `plain` : Plain text
* - `w3c` : [W3C extended logging file format](https://docs.aws.amazon.com/https://www.w3.org/TR/WD-logfile)
* @property prefix The prefix text with which to begin Amazon S3 log object names.
* For more information, see [Organizing objects using prefixes](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-prefixes.html) in the *Amazon Simple Storage Service User Guide* .
*/
public data class PipeS3LogDestination(
public val bucketName: String? = null,
public val bucketOwner: String? = null,
public val outputFormat: PipeS3OutputFormat? = null,
public val prefix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeS3LogDestination): PipeS3LogDestination = PipeS3LogDestination(
bucketName = javaType.bucketName().map({ args0 -> args0 }).orElse(null),
bucketOwner = javaType.bucketOwner().map({ args0 -> args0 }).orElse(null),
outputFormat = javaType.outputFormat().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.enums.PipeS3OutputFormat.Companion.toKotlin(args0)
})
}).orElse(null),
prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy