io.burkard.cdk.services.iot.CfnSecurityProfileProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iot
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnSecurityProfileProps {
def apply(
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
additionalMetricsToRetainV2: Option[List[_]] = None,
targetArns: Option[List[String]] = None,
behaviors: Option[List[_]] = None,
securityProfileName: Option[String] = None,
securityProfileDescription: Option[String] = None,
alertTargets: Option[Map[String, _]] = None
): software.amazon.awscdk.services.iot.CfnSecurityProfileProps =
(new software.amazon.awscdk.services.iot.CfnSecurityProfileProps.Builder)
.tags(tags.map(_.asJava).orNull)
.additionalMetricsToRetainV2(additionalMetricsToRetainV2.map(_.asJava).orNull)
.targetArns(targetArns.map(_.asJava).orNull)
.behaviors(behaviors.map(_.asJava).orNull)
.securityProfileName(securityProfileName.orNull)
.securityProfileDescription(securityProfileDescription.orNull)
.alertTargets(alertTargets.map(_.asJava).orNull)
.build()
}