io.burkard.cdk.services.applicationinsights.cfnApplication.AlarmProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.applicationinsights.cfnApplication
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AlarmProperty {
def apply(
alarmName: String,
severity: Option[String] = None
): software.amazon.awscdk.services.applicationinsights.CfnApplication.AlarmProperty =
(new software.amazon.awscdk.services.applicationinsights.CfnApplication.AlarmProperty.Builder)
.alarmName(alarmName)
.severity(severity.orNull)
.build()
}