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

io.burkard.cdk.services.config.CfnConformancePack.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.config

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnConformancePack {

  def apply(
    internalResourceId: String,
    conformancePackName: String,
    conformancePackInputParameters: Option[List[_]] = None,
    templateS3Uri: Option[String] = None,
    templateBody: Option[String] = None,
    deliveryS3KeyPrefix: Option[String] = None,
    deliveryS3Bucket: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.config.CfnConformancePack =
    software.amazon.awscdk.services.config.CfnConformancePack.Builder
      .create(stackCtx, internalResourceId)
      .conformancePackName(conformancePackName)
      .conformancePackInputParameters(conformancePackInputParameters.map(_.asJava).orNull)
      .templateS3Uri(templateS3Uri.orNull)
      .templateBody(templateBody.orNull)
      .deliveryS3KeyPrefix(deliveryS3KeyPrefix.orNull)
      .deliveryS3Bucket(deliveryS3Bucket.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy