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

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()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy