io.burkard.cdk.services.route53recoveryreadiness.CfnResourceSet.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 CfnResourceSet {
def apply(
internalResourceId: String,
resources: List[_],
resourceSetType: String,
resourceSetName: String,
tags: Option[List[_ <: software.amazon.awscdk.CfnTag]] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet =
software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSet.Builder
.create(stackCtx, internalResourceId)
.resources(resources.asJava)
.resourceSetType(resourceSetType)
.resourceSetName(resourceSetName)
.tags(tags.map(_.asJava).orNull)
.build()
}