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

com.pulumi.aws.elasticsearch.kotlin.outputs.DomainLogPublishingOption.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: 6.57.0.0
Show newest version
@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