io.burkard.cdk.services.codecommit.RepositoryProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codecommit
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RepositoryProps {
def apply(
repositoryName: String,
code: Option[software.amazon.awscdk.services.codecommit.Code] = None,
description: Option[String] = None
): software.amazon.awscdk.services.codecommit.RepositoryProps =
(new software.amazon.awscdk.services.codecommit.RepositoryProps.Builder)
.repositoryName(repositoryName)
.code(code.orNull)
.description(description.orNull)
.build()
}