All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.s3.RoutingRule.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.s3

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object RoutingRule {

  def apply(
    httpRedirectCode: Option[String] = None,
    hostName: Option[String] = None,
    condition: Option[software.amazon.awscdk.services.s3.RoutingRuleCondition] = None,
    replaceKey: Option[software.amazon.awscdk.services.s3.ReplaceKey] = None,
    protocol: Option[software.amazon.awscdk.services.s3.RedirectProtocol] = None
  ): software.amazon.awscdk.services.s3.RoutingRule =
    (new software.amazon.awscdk.services.s3.RoutingRule.Builder)
      .httpRedirectCode(httpRedirectCode.orNull)
      .hostName(hostName.orNull)
      .condition(condition.orNull)
      .replaceKey(replaceKey.orNull)
      .protocol(protocol.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy