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

io.burkard.cdk.CfnHookVersion.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnHookVersion {

  def apply(
    internalResourceId: String,
    typeName: String,
    schemaHandlerPackage: String,
    executionRoleArn: Option[String] = None,
    loggingConfig: Option[software.amazon.awscdk.CfnHookVersion.LoggingConfigProperty] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.CfnHookVersion =
    software.amazon.awscdk.CfnHookVersion.Builder
      .create(stackCtx, internalResourceId)
      .typeName(typeName)
      .schemaHandlerPackage(schemaHandlerPackage)
      .executionRoleArn(executionRoleArn.orNull)
      .loggingConfig(loggingConfig.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy