io.burkard.cdk.services.ecs.ScalableTaskCountProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ScalableTaskCountProps {
def apply(
resourceId: Option[String] = None,
maxCapacity: Option[Number] = None,
role: Option[software.amazon.awscdk.services.iam.IRole] = None,
serviceNamespace: Option[software.amazon.awscdk.services.applicationautoscaling.ServiceNamespace] = None,
minCapacity: Option[Number] = None,
dimension: Option[String] = None
): software.amazon.awscdk.services.ecs.ScalableTaskCountProps =
(new software.amazon.awscdk.services.ecs.ScalableTaskCountProps.Builder)
.resourceId(resourceId.orNull)
.maxCapacity(maxCapacity.orNull)
.role(role.orNull)
.serviceNamespace(serviceNamespace.orNull)
.minCapacity(minCapacity.orNull)
.dimension(dimension.orNull)
.build()
}