io.burkard.cdk.services.glue.CfnJob.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.glue
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnJob {
def apply(
internalResourceId: String,
role: String,
command: software.amazon.awscdk.services.glue.CfnJob.JobCommandProperty,
notificationProperty: Option[software.amazon.awscdk.services.glue.CfnJob.NotificationPropertyProperty] = None,
name: Option[String] = None,
maxCapacity: Option[Number] = None,
numberOfWorkers: Option[Number] = None,
description: Option[String] = None,
tags: Option[AnyRef] = None,
executionProperty: Option[software.amazon.awscdk.services.glue.CfnJob.ExecutionPropertyProperty] = None,
allocatedCapacity: Option[Number] = None,
defaultArguments: Option[AnyRef] = None,
securityConfiguration: Option[String] = None,
logUri: Option[String] = None,
workerType: Option[String] = None,
maxRetries: Option[Number] = None,
timeout: Option[Number] = None,
glueVersion: Option[String] = None,
connections: Option[software.amazon.awscdk.services.glue.CfnJob.ConnectionsListProperty] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.glue.CfnJob =
software.amazon.awscdk.services.glue.CfnJob.Builder
.create(stackCtx, internalResourceId)
.role(role)
.command(command)
.notificationProperty(notificationProperty.orNull)
.name(name.orNull)
.maxCapacity(maxCapacity.orNull)
.numberOfWorkers(numberOfWorkers.orNull)
.description(description.orNull)
.tags(tags.orNull)
.executionProperty(executionProperty.orNull)
.allocatedCapacity(allocatedCapacity.orNull)
.defaultArguments(defaultArguments.orNull)
.securityConfiguration(securityConfiguration.orNull)
.logUri(logUri.orNull)
.workerType(workerType.orNull)
.maxRetries(maxRetries.orNull)
.timeout(timeout.orNull)
.glueVersion(glueVersion.orNull)
.connections(connections.orNull)
.build()
}