com.pulumi.gcp.appengine.kotlin.outputs.FlexibleAppVersionApiConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.appengine.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property authFailAction Action to take when users access resources that require authentication.
* Default value is `AUTH_FAIL_ACTION_REDIRECT`.
* Possible values are: `AUTH_FAIL_ACTION_REDIRECT`, `AUTH_FAIL_ACTION_UNAUTHORIZED`.
* @property login Level of login required to access this resource.
* Default value is `LOGIN_OPTIONAL`.
* Possible values are: `LOGIN_OPTIONAL`, `LOGIN_ADMIN`, `LOGIN_REQUIRED`.
* @property script Path to the script from the application root directory.
* @property securityLevel Security (HTTPS) enforcement for this URL.
* Possible values are: `SECURE_DEFAULT`, `SECURE_NEVER`, `SECURE_OPTIONAL`, `SECURE_ALWAYS`.
* @property url URL to serve the endpoint at.
*/
public data class FlexibleAppVersionApiConfig(
public val authFailAction: String? = null,
public val login: String? = null,
public val script: String,
public val securityLevel: String? = null,
public val url: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.appengine.outputs.FlexibleAppVersionApiConfig): FlexibleAppVersionApiConfig = FlexibleAppVersionApiConfig(
authFailAction = javaType.authFailAction().map({ args0 -> args0 }).orElse(null),
login = javaType.login().map({ args0 -> args0 }).orElse(null),
script = javaType.script(),
securityLevel = javaType.securityLevel().map({ args0 -> args0 }).orElse(null),
url = javaType.url().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy