All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.iot.cfnTopicRule.CloudwatchMetricActionProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.iot.cfnTopicRule

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CloudwatchMetricActionProperty {

  def apply(
    metricUnit: String,
    metricName: String,
    roleArn: String,
    metricNamespace: String,
    metricValue: String,
    metricTimestamp: Option[String] = None
  ): software.amazon.awscdk.services.iot.CfnTopicRule.CloudwatchMetricActionProperty =
    (new software.amazon.awscdk.services.iot.CfnTopicRule.CloudwatchMetricActionProperty.Builder)
      .metricUnit(metricUnit)
      .metricName(metricName)
      .roleArn(roleArn)
      .metricNamespace(metricNamespace)
      .metricValue(metricValue)
      .metricTimestamp(metricTimestamp.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy