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

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterDryRunIngressPolicyIngressFrom.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.20.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.accesscontextmanager.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property identities Identities can be an individual user, service account, Google group,
 * or third-party identity. For third-party identity, only single identities
 * are supported and other identity types are not supported.The v1 identities
 * that have the prefix user, group and serviceAccount in
 * https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported.
 * @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: `ANY_IDENTITY`, `ANY_USER_ACCOUNT`, `ANY_SERVICE_ACCOUNT`.
 * @property sources Sources that this `IngressPolicy` authorizes access from.
 * Structure is documented below.
 */
public data class ServicePerimeterDryRunIngressPolicyIngressFrom(
    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.ServicePerimeterDryRunIngressPolicyIngressFrom): ServicePerimeterDryRunIngressPolicyIngressFrom =
            ServicePerimeterDryRunIngressPolicyIngressFrom(
                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.ServicePerimeterDryRunIngressPolicyIngressFromSource.Companion.toKotlin(args0)
                    })
                }),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy