
com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionKeyValuePair.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecs.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* A key-value pair object.
* @property name The name of the key-value pair. For environment variables, this is the name of the environment variable.
* @property value The value of the key-value pair. For environment variables, this is the value of the environment variable.
*/
public data class TaskDefinitionKeyValuePair(
public val name: String? = null,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionKeyValuePair): TaskDefinitionKeyValuePair = TaskDefinitionKeyValuePair(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy