io.burkard.cdk.services.iot.CfnPolicy.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.iot
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnPolicy {
def apply(
internalResourceId: String,
policyDocument: AnyRef,
policyName: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.iot.CfnPolicy =
software.amazon.awscdk.services.iot.CfnPolicy.Builder
.create(stackCtx, internalResourceId)
.policyDocument(policyDocument)
.policyName(policyName.orNull)
.build()
}