io.burkard.cdk.services.iot.cfnTopicRule.CloudwatchAlarmActionProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iot.cfnTopicRule
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CloudwatchAlarmActionProperty {
def apply(
roleArn: String,
alarmName: String,
stateReason: String,
stateValue: String
): software.amazon.awscdk.services.iot.CfnTopicRule.CloudwatchAlarmActionProperty =
(new software.amazon.awscdk.services.iot.CfnTopicRule.CloudwatchAlarmActionProperty.Builder)
.roleArn(roleArn)
.alarmName(alarmName)
.stateReason(stateReason)
.stateValue(stateValue)
.build()
}