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