![JAR search and dependency download from the Maven repository](/logo.png)
io.burkard.cdk.services.ecs.CfnClusterCapacityProviderAssociations.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.ecs
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CfnClusterCapacityProviderAssociations {
def apply(
internalResourceId: String,
capacityProviders: List[String],
defaultCapacityProviderStrategy: List[_],
cluster: String
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociations =
software.amazon.awscdk.services.ecs.CfnClusterCapacityProviderAssociations.Builder
.create(stackCtx, internalResourceId)
.capacityProviders(capacityProviders.asJava)
.defaultCapacityProviderStrategy(defaultCapacityProviderStrategy.asJava)
.cluster(cluster)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy