io.burkard.cdk.services.appmesh.HttpTimeout.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.appmesh
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object HttpTimeout {
def apply(
idle: Option[software.amazon.awscdk.Duration] = None,
perRequest: Option[software.amazon.awscdk.Duration] = None
): software.amazon.awscdk.services.appmesh.HttpTimeout =
(new software.amazon.awscdk.services.appmesh.HttpTimeout.Builder)
.idle(idle.orNull)
.perRequest(perRequest.orNull)
.build()
}