![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecIngressRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.outputs
import kotlin.Suppress
/**
*
* @property component
* @property cors The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
* @property match
* @property redirect
*/
public data class GetAppSpecIngressRule(
public val component: GetAppSpecIngressRuleComponent,
public val cors: GetAppSpecIngressRuleCors,
public val match: GetAppSpecIngressRuleMatch,
public val redirect: GetAppSpecIngressRuleRedirect? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.digitalocean.outputs.GetAppSpecIngressRule): GetAppSpecIngressRule = GetAppSpecIngressRule(
component = javaType.component().let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecIngressRuleComponent.Companion.toKotlin(args0)
}),
cors = javaType.cors().let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecIngressRuleCors.Companion.toKotlin(args0)
}),
match = javaType.match().let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecIngressRuleMatch.Companion.toKotlin(args0)
}),
redirect = javaType.redirect().map({ args0 ->
args0.let({ args0 ->
com.pulumi.digitalocean.kotlin.outputs.GetAppSpecIngressRuleRedirect.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy