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

com.pulumi.awsnative.vpclattice.kotlin.enums.AuthPolicyState.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.vpclattice.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The state of the auth policy. The auth policy is only active when the auth type is set to `AWS _IAM` . If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the auth type is `NONE` , then any auth policy you provide will remain inactive.
 */
public enum class AuthPolicyState(
    public val javaValue: com.pulumi.awsnative.vpclattice.enums.AuthPolicyState,
) : ConvertibleToJava {
    Active(com.pulumi.awsnative.vpclattice.enums.AuthPolicyState.Active),
    Inactive(com.pulumi.awsnative.vpclattice.enums.AuthPolicyState.Inactive),
    ;

    override fun toJava(): com.pulumi.awsnative.vpclattice.enums.AuthPolicyState = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.enums.AuthPolicyState): AuthPolicyState = AuthPolicyState.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy