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