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

com.pulumi.digitalocean.kotlin.outputs.AppSpecIngress.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property rules Rules for configuring HTTP ingress for component routes, CORS, rewrites, and redirects.
 */
public data class AppSpecIngress(
    public val rules: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.AppSpecIngress): AppSpecIngress =
            AppSpecIngress(
                rules = javaType.rules().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.digitalocean.kotlin.outputs.AppSpecIngressRule.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy