io.burkard.cdk.services.autoscaling.NotificationConfiguration.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object NotificationConfiguration {
def apply(
scalingEvents: Option[software.amazon.awscdk.services.autoscaling.ScalingEvents] = None,
topic: Option[software.amazon.awscdk.services.sns.ITopic] = None
): software.amazon.awscdk.services.autoscaling.NotificationConfiguration =
(new software.amazon.awscdk.services.autoscaling.NotificationConfiguration.Builder)
.scalingEvents(scalingEvents.orNull)
.topic(topic.orNull)
.build()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy