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