io.burkard.cdk.services.codepipeline.actions.EcsDeployActionProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codepipeline.actions
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EcsDeployActionProps {
def apply(
service: software.amazon.awscdk.services.ecs.IBaseService,
deploymentTimeout: Option[software.amazon.awscdk.Duration] = None,
imageFile: Option[software.amazon.awscdk.services.codepipeline.ArtifactPath] = None,
role: Option[software.amazon.awscdk.services.iam.IRole] = None,
variablesNamespace: Option[String] = None,
runOrder: Option[Number] = None,
actionName: Option[String] = None,
input: Option[software.amazon.awscdk.services.codepipeline.Artifact] = None
): software.amazon.awscdk.services.codepipeline.actions.EcsDeployActionProps =
(new software.amazon.awscdk.services.codepipeline.actions.EcsDeployActionProps.Builder)
.service(service)
.deploymentTimeout(deploymentTimeout.orNull)
.imageFile(imageFile.orNull)
.role(role.orNull)
.variablesNamespace(variablesNamespace.orNull)
.runOrder(runOrder.orNull)
.actionName(actionName.orNull)
.input(input.orNull)
.build()
}