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

com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterStatusIngressPolicyIngressTo.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.10.0.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 operations A list of `ApiOperations` the sources specified in corresponding `IngressFrom`
 * are allowed to perform in this `ServicePerimeter`.
 * Structure is documented below.
 * @property resources A list of resources, currently only projects in the form
 * `projects/`, protected by this `ServicePerimeter`
 * that are allowed to be accessed by sources defined in the
 * corresponding `IngressFrom`. A request matches if it contains
 * a resource in this list. If `*` is specified for resources,
 * then this `IngressTo` rule will authorize access to all
 * resources inside the perimeter, provided that the request
 * also matches the `operations` field.
 */
public data class ServicePerimeterStatusIngressPolicyIngressTo(
    public val operations: List? = null,
    public val resources: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterStatusIngressPolicyIngressTo): ServicePerimeterStatusIngressPolicyIngressTo = ServicePerimeterStatusIngressPolicyIngressTo(
            operations = javaType.operations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterStatusIngressPolicyIngressToOperation.Companion.toKotlin(args0)
                })
            }),
            resources = javaType.resources().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy