io.burkard.cdk.services.guardduty.CfnThreatIntelSet.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.guardduty
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnThreatIntelSet {
def apply(
internalResourceId: String,
format: String,
location: String,
detectorId: String,
activate: Boolean,
name: Option[String] = None,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.guardduty.CfnThreatIntelSet =
software.amazon.awscdk.services.guardduty.CfnThreatIntelSet.Builder
.create(stackCtx, internalResourceId)
.format(format)
.location(location)
.detectorId(detectorId)
.activate(activate)
.name(name.orNull)
.tags(tags.map(_.asJava).orNull)
.build()
}