com.pulumi.aws.ecs.kotlin.outputs.GetTaskExecutionPlacementStrategy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.ecs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property field The field to apply the placement strategy against.
* @property type The type of placement strategy. Valid values are `random`, `spread`, and `binpack`.
* For more information, see the [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html) documentation.
*/
public data class GetTaskExecutionPlacementStrategy(
public val `field`: String? = null,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.ecs.outputs.GetTaskExecutionPlacementStrategy): GetTaskExecutionPlacementStrategy = GetTaskExecutionPlacementStrategy(
`field` = javaType.`field`().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy