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

com.pulumi.awsnative.athena.kotlin.outputs.WorkGroupConfigurationUpdates.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.athena.kotlin.outputs

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

/**
 * The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
 * @property additionalConfiguration
 * @property bytesScannedCutoffPerQuery
 * @property customerContentEncryptionConfiguration
 * @property enforceWorkGroupConfiguration
 * @property engineVersion
 * @property executionRole
 * @property publishCloudWatchMetricsEnabled
 * @property removeBytesScannedCutoffPerQuery
 * @property removeCustomerContentEncryptionConfiguration
 * @property requesterPaysEnabled
 * @property resultConfigurationUpdates
 */
public data class WorkGroupConfigurationUpdates(
    public val additionalConfiguration: String? = null,
    public val bytesScannedCutoffPerQuery: Int? = null,
    public val customerContentEncryptionConfiguration: WorkGroupCustomerContentEncryptionConfiguration? = null,
    public val enforceWorkGroupConfiguration: Boolean? = null,
    public val engineVersion: WorkGroupEngineVersion? = null,
    public val executionRole: String? = null,
    public val publishCloudWatchMetricsEnabled: Boolean? = null,
    public val removeBytesScannedCutoffPerQuery: Boolean? = null,
    public val removeCustomerContentEncryptionConfiguration: Boolean? = null,
    public val requesterPaysEnabled: Boolean? = null,
    public val resultConfigurationUpdates: WorkGroupResultConfigurationUpdates? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.athena.outputs.WorkGroupConfigurationUpdates): WorkGroupConfigurationUpdates = WorkGroupConfigurationUpdates(
            additionalConfiguration = javaType.additionalConfiguration().map({ args0 -> args0 }).orElse(null),
            bytesScannedCutoffPerQuery = javaType.bytesScannedCutoffPerQuery().map({ args0 ->
                args0
            }).orElse(null),
            customerContentEncryptionConfiguration = javaType.customerContentEncryptionConfiguration().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.athena.kotlin.outputs.WorkGroupCustomerContentEncryptionConfiguration.Companion.toKotlin(args0)
                })
            }).orElse(null),
            enforceWorkGroupConfiguration = javaType.enforceWorkGroupConfiguration().map({ args0 ->
                args0
            }).orElse(null),
            engineVersion = javaType.engineVersion().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.athena.kotlin.outputs.WorkGroupEngineVersion.Companion.toKotlin(args0)
                })
            }).orElse(null),
            executionRole = javaType.executionRole().map({ args0 -> args0 }).orElse(null),
            publishCloudWatchMetricsEnabled = javaType.publishCloudWatchMetricsEnabled().map({ args0 ->
                args0
            }).orElse(null),
            removeBytesScannedCutoffPerQuery = javaType.removeBytesScannedCutoffPerQuery().map({ args0 ->
                args0
            }).orElse(null),
            removeCustomerContentEncryptionConfiguration = javaType.removeCustomerContentEncryptionConfiguration().map({ args0 ->
                args0
            }).orElse(null),
            requesterPaysEnabled = javaType.requesterPaysEnabled().map({ args0 -> args0 }).orElse(null),
            resultConfigurationUpdates = javaType.resultConfigurationUpdates().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.athena.kotlin.outputs.WorkGroupResultConfigurationUpdates.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy