com.pulumi.aws.elasticsearch.kotlin.outputs.DomainLogPublishingOption.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.elasticsearch.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property cloudwatchLogGroupArn ARN of the Cloudwatch log group to which log needs to be published.
* @property enabled Whether given log publishing option is enabled or not.
* @property logType Type of Elasticsearch log. Valid values: `INDEX_SLOW_LOGS`, `SEARCH_SLOW_LOGS`, `ES_APPLICATION_LOGS`, `AUDIT_LOGS`.
*/
public data class DomainLogPublishingOption(
public val cloudwatchLogGroupArn: String,
public val enabled: Boolean? = null,
public val logType: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.elasticsearch.outputs.DomainLogPublishingOption): DomainLogPublishingOption = DomainLogPublishingOption(
cloudwatchLogGroupArn = javaType.cloudwatchLogGroupArn(),
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
logType = javaType.logType(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy