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

io.burkard.cdk.services.backup.CfnReportPlan.scala Maven / Gradle / Ivy

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

import scala.collection.JavaConverters._

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

  def apply(
    internalResourceId: String,
    reportSetting: AnyRef,
    reportDeliveryChannel: AnyRef,
    reportPlanName: Option[String] = None,
    reportPlanDescription: Option[String] = None,
    reportPlanTags: Option[List[_]] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.backup.CfnReportPlan =
    software.amazon.awscdk.services.backup.CfnReportPlan.Builder
      .create(stackCtx, internalResourceId)
      .reportSetting(reportSetting)
      .reportDeliveryChannel(reportDeliveryChannel)
      .reportPlanName(reportPlanName.orNull)
      .reportPlanDescription(reportPlanDescription.orNull)
      .reportPlanTags(reportPlanTags.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy