All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.pipelines.CodeCommitSourceOptions.scala Maven / Gradle / Ivy

package io.burkard.cdk.pipelines

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CodeCommitSourceOptions {

  def apply(
    trigger: Option[software.amazon.awscdk.services.codepipeline.actions.CodeCommitTrigger] = None,
    codeBuildCloneOutput: Option[Boolean] = None,
    eventRole: Option[software.amazon.awscdk.services.iam.IRole] = None
  ): software.amazon.awscdk.pipelines.CodeCommitSourceOptions =
    (new software.amazon.awscdk.pipelines.CodeCommitSourceOptions.Builder)
      .trigger(trigger.orNull)
      .codeBuildCloneOutput(codeBuildCloneOutput.map(Boolean.box).orNull)
      .eventRole(eventRole.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy