com.pulumi.awsnative.cloudformation.kotlin.enums.StackSetCallAs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.cloudformation.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Specifies the AWS account that you are acting from. By default, SELF is specified. For self-managed permissions, specify SELF; for service-managed permissions, if you are signed in to the organization's management account, specify SELF. If you are signed in to a delegated administrator account, specify DELEGATED_ADMIN.
*/
public enum class StackSetCallAs(
public val javaValue: com.pulumi.awsnative.cloudformation.enums.StackSetCallAs,
) : ConvertibleToJava {
Self(com.pulumi.awsnative.cloudformation.enums.StackSetCallAs.Self),
DelegatedAdmin(com.pulumi.awsnative.cloudformation.enums.StackSetCallAs.DelegatedAdmin),
;
override fun toJava(): com.pulumi.awsnative.cloudformation.enums.StackSetCallAs = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cloudformation.enums.StackSetCallAs): StackSetCallAs = StackSetCallAs.values().first { it.javaValue == javaType }
}
}