io.burkard.cdk.services.gamelift.CfnAlias.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.gamelift
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnAlias {
def apply(
internalResourceId: String,
name: String,
routingStrategy: software.amazon.awscdk.services.gamelift.CfnAlias.RoutingStrategyProperty,
description: Option[String] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.gamelift.CfnAlias =
software.amazon.awscdk.services.gamelift.CfnAlias.Builder
.create(stackCtx, internalResourceId)
.name(name)
.routingStrategy(routingStrategy)
.description(description.orNull)
.build()
}