com.pulumi.aws.kinesis.kotlin.outputs.FirehoseDeliveryStreamOpensearchConfigurationCloudwatchLoggingOptions.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.kinesis.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property enabled Enables or disables the logging. Defaults to `false`.
* @property logGroupName The CloudWatch group name for logging. This value is required if `enabled` is true.
* @property logStreamName The CloudWatch log stream name for logging. This value is required if `enabled` is true.
*/
public data class FirehoseDeliveryStreamOpensearchConfigurationCloudwatchLoggingOptions(
public val enabled: Boolean? = null,
public val logGroupName: String? = null,
public val logStreamName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.kinesis.outputs.FirehoseDeliveryStreamOpensearchConfigurationCloudwatchLoggingOptions): FirehoseDeliveryStreamOpensearchConfigurationCloudwatchLoggingOptions =
FirehoseDeliveryStreamOpensearchConfigurationCloudwatchLoggingOptions(
enabled = javaType.enabled().map({ args0 -> args0 }).orElse(null),
logGroupName = javaType.logGroupName().map({ args0 -> args0 }).orElse(null),
logStreamName = javaType.logStreamName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy