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

io.burkard.cdk.services.synthetics.cfnCanary.CodeProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.synthetics.cfnCanary

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

  def apply(
    handler: String,
    s3Bucket: Option[String] = None,
    script: Option[String] = None,
    s3Key: Option[String] = None,
    s3ObjectVersion: Option[String] = None
  ): software.amazon.awscdk.services.synthetics.CfnCanary.CodeProperty =
    (new software.amazon.awscdk.services.synthetics.CfnCanary.CodeProperty.Builder)
      .handler(handler)
      .s3Bucket(s3Bucket.orNull)
      .script(script.orNull)
      .s3Key(s3Key.orNull)
      .s3ObjectVersion(s3ObjectVersion.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy