All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.kafkaconnect.kotlin.outputs.ConnectorS3LogDelivery.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kafkaconnect.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * Details about delivering logs to Amazon S3.
 * @property bucket The name of the S3 bucket that is the destination for log delivery.
 * @property enabled Specifies whether the logs get sent to the specified Amazon S3 destination.
 * @property prefix The S3 prefix that is the destination for log delivery.
 */
public data class ConnectorS3LogDelivery(
    public val bucket: String? = null,
    public val enabled: Boolean,
    public val prefix: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kafkaconnect.outputs.ConnectorS3LogDelivery): ConnectorS3LogDelivery = ConnectorS3LogDelivery(
            bucket = javaType.bucket().map({ args0 -> args0 }).orElse(null),
            enabled = javaType.enabled(),
            prefix = javaType.prefix().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy