
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationMonitoringConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.kinesisanalyticsv2.kotlin.outputs
import com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationConfigurationType
import com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationLogLevel
import com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationMetricsLevel
import kotlin.Suppress
/**
* Describes configuration parameters for Amazon CloudWatch logging for a Java-based Kinesis Data Analytics application. For more information about CloudWatch logging, see Monitoring.
* @property configurationType Describes whether to use the default CloudWatch logging configuration for an application. You must set this property to CUSTOM in order to set the LogLevel or MetricsLevel parameters.
* @property logLevel Describes the verbosity of the CloudWatch Logs for an application.
* @property metricsLevel Describes the granularity of the CloudWatch Logs for an application. The Parallelism level is not recommended for applications with a Parallelism over 64 due to excessive costs.
*/
public data class ApplicationMonitoringConfiguration(
public val configurationType: ApplicationMonitoringConfigurationConfigurationType,
public val logLevel: ApplicationMonitoringConfigurationLogLevel? = null,
public val metricsLevel: ApplicationMonitoringConfigurationMetricsLevel? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.kinesisanalyticsv2.outputs.ApplicationMonitoringConfiguration): ApplicationMonitoringConfiguration = ApplicationMonitoringConfiguration(
configurationType = javaType.configurationType().let({ args0 ->
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationConfigurationType.Companion.toKotlin(args0)
}),
logLevel = javaType.logLevel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationLogLevel.Companion.toKotlin(args0)
})
}).orElse(null),
metricsLevel = javaType.metricsLevel().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kinesisanalyticsv2.kotlin.enums.ApplicationMonitoringConfigurationMetricsLevel.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy