com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom.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.accesscontextmanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property identities 'A list of identities that are allowed access through this `IngressPolicy`.
* To specify an identity or identity group, use the IAM v1 format
* specified [here](https://cloud.google.com/iam/docs/principal-identifiers.md#v1).
* The following prefixes are supprted: user, group, serviceAccount, principal, and principalSet.'
* @property identityType Specifies the type of identities that are allowed access from outside the
* perimeter. If left unspecified, then members of `identities` field will be
* allowed access.
* Possible values are: `IDENTITY_TYPE_UNSPECIFIED`, `ANY_IDENTITY`, `ANY_USER_ACCOUNT`, `ANY_SERVICE_ACCOUNT`.
* @property sources Sources that this `IngressPolicy` authorizes access from.
* Structure is documented below.
*/
public data class ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom(
public val identities: List? = null,
public val identityType: String? = null,
public val sources: List? =
null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom): ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom =
ServicePerimetersServicePerimeterSpecIngressPolicyIngressFrom(
identities = javaType.identities().map({ args0 -> args0 }),
identityType = javaType.identityType().map({ args0 -> args0 }).orElse(null),
sources = javaType.sources().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromSource.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy