io.burkard.cdk.services.sqs.CfnQueuePolicy.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sqs
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnQueuePolicy {
def apply(
internalResourceId: String,
queues: List[String],
policyDocument: AnyRef
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.sqs.CfnQueuePolicy =
software.amazon.awscdk.services.sqs.CfnQueuePolicy.Builder
.create(stackCtx, internalResourceId)
.queues(queues.asJava)
.policyDocument(policyDocument)
.build()
}