io.burkard.cdk.services.events.targets.AwsApiInput.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.events.targets
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object AwsApiInput {
def apply(
service: String,
action: String,
apiVersion: Option[String] = None,
parameters: Option[AnyRef] = None,
catchErrorPattern: Option[String] = None
): software.amazon.awscdk.services.events.targets.AwsApiInput =
(new software.amazon.awscdk.services.events.targets.AwsApiInput.Builder)
.service(service)
.action(action)
.apiVersion(apiVersion.orNull)
.parameters(parameters.orNull)
.catchErrorPattern(catchErrorPattern.orNull)
.build()
}