io.burkard.cdk.services.iotevents.cfnAlarmModel.SnsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iotevents.cfnAlarmModel
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object SnsProperty {
def apply(
targetArn: String,
payload: Option[software.amazon.awscdk.services.iotevents.CfnAlarmModel.PayloadProperty] = None
): software.amazon.awscdk.services.iotevents.CfnAlarmModel.SnsProperty =
(new software.amazon.awscdk.services.iotevents.CfnAlarmModel.SnsProperty.Builder)
.targetArn(targetArn)
.payload(payload.orNull)
.build()
}