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

io.burkard.cdk.services.config.cfnConfigRule.SourceProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.config.cfnConfigRule

import scala.collection.JavaConverters._

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

  def apply(
    owner: String,
    sourceIdentifier: Option[String] = None,
    customPolicyDetails: Option[software.amazon.awscdk.services.config.CfnConfigRule.CustomPolicyDetailsProperty] = None,
    sourceDetails: Option[List[_]] = None
  ): software.amazon.awscdk.services.config.CfnConfigRule.SourceProperty =
    (new software.amazon.awscdk.services.config.CfnConfigRule.SourceProperty.Builder)
      .owner(owner)
      .sourceIdentifier(sourceIdentifier.orNull)
      .customPolicyDetails(customPolicyDetails.orNull)
      .sourceDetails(sourceDetails.map(_.asJava).orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy