io.burkard.cdk.pipelines.GitHubSourceOptions.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.pipelines
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object GitHubSourceOptions {
def apply(
trigger: Option[software.amazon.awscdk.services.codepipeline.actions.GitHubTrigger] = None,
authentication: Option[software.amazon.awscdk.SecretValue] = None
): software.amazon.awscdk.pipelines.GitHubSourceOptions =
(new software.amazon.awscdk.pipelines.GitHubSourceOptions.Builder)
.trigger(trigger.orNull)
.authentication(authentication.orNull)
.build()
}