io.burkard.cdk.services.lambda.CfnVersion.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnVersion {
def apply(
internalResourceId: String,
functionName: String,
description: Option[String] = None,
provisionedConcurrencyConfig: Option[software.amazon.awscdk.services.lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty] = None,
codeSha256: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.lambda.CfnVersion =
software.amazon.awscdk.services.lambda.CfnVersion.Builder
.create(stackCtx, internalResourceId)
.functionName(functionName)
.description(description.orNull)
.provisionedConcurrencyConfig(provisionedConcurrencyConfig.orNull)
.codeSha256(codeSha256.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy