io.burkard.cdk.services.iotevents.cfnAlarmModel.DynamoDBv2Property.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 DynamoDBv2Property {
def apply(
tableName: String,
payload: Option[software.amazon.awscdk.services.iotevents.CfnAlarmModel.PayloadProperty] = None
): software.amazon.awscdk.services.iotevents.CfnAlarmModel.DynamoDBv2Property =
(new software.amazon.awscdk.services.iotevents.CfnAlarmModel.DynamoDBv2Property.Builder)
.tableName(tableName)
.payload(payload.orNull)
.build()
}