io.burkard.cdk.services.lookoutmetrics.cfnAlert.ActionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lookoutmetrics.cfnAlert
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ActionProperty {
def apply(
snsConfiguration: Option[software.amazon.awscdk.services.lookoutmetrics.CfnAlert.SNSConfigurationProperty] = None,
lambdaConfiguration: Option[software.amazon.awscdk.services.lookoutmetrics.CfnAlert.LambdaConfigurationProperty] = None
): software.amazon.awscdk.services.lookoutmetrics.CfnAlert.ActionProperty =
(new software.amazon.awscdk.services.lookoutmetrics.CfnAlert.ActionProperty.Builder)
.snsConfiguration(snsConfiguration.orNull)
.lambdaConfiguration(lambdaConfiguration.orNull)
.build()
}