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