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

com.pulumi.awsnative.timestream.kotlin.outputs.ScheduledQueryS3Configuration.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.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