
com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryS3Configuration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.timestream.kotlin.outputs
import com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryEncryptionOption
import kotlin.String
import kotlin.Suppress
/**
* Details on S3 location for error reports that result from running a query.
* @property bucketName Name of the S3 bucket under which error reports will be created.
* @property encryptionOption Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
* @property objectKeyPrefix Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
*/
public data class ScheduledQueryS3Configuration(
public val bucketName: String,
public val encryptionOption: ScheduledQueryEncryptionOption? = null,
public val objectKeyPrefix: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.ScheduledQueryS3Configuration): ScheduledQueryS3Configuration = ScheduledQueryS3Configuration(
bucketName = javaType.bucketName(),
encryptionOption = javaType.encryptionOption().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.enums.ScheduledQueryEncryptionOption.Companion.toKotlin(args0)
})
}).orElse(null),
objectKeyPrefix = javaType.objectKeyPrefix().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy