io.burkard.cdk.services.route53recoveryreadiness.CfnReadinessCheck.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.route53recoveryreadiness
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnReadinessCheck {
def apply(
internalResourceId: String,
readinessCheckName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None,
resourceSetName: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck =
software.amazon.awscdk.services.route53recoveryreadiness.CfnReadinessCheck.Builder
.create(stackCtx, internalResourceId)
.readinessCheckName(readinessCheckName)
.tags(tags.map(_.asJava).orNull)
.resourceSetName(resourceSetName.orNull)
.build()
}