All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.connect.kotlin.outputs.ConstraintsProperties.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.connect.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 * The constraints for the task template
 * @property invisibleFields Lists the fields that are invisible to agents.
 * @property readOnlyFields Lists the fields that are read-only to agents, and cannot be edited.
 * @property requiredFields Lists the fields that are required to be filled by agents.
 */
public data class ConstraintsProperties(
    public val invisibleFields: List? = null,
    public val readOnlyFields: List? = null,
    public val requiredFields: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.ConstraintsProperties): ConstraintsProperties = ConstraintsProperties(
            invisibleFields = javaType.invisibleFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.TaskTemplateInvisibleFieldInfo.Companion.toKotlin(args0)
                })
            }),
            readOnlyFields = javaType.readOnlyFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.TaskTemplateReadOnlyFieldInfo.Companion.toKotlin(args0)
                })
            }),
            requiredFields = javaType.requiredFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.connect.kotlin.outputs.TaskTemplateRequiredFieldInfo.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy