com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterIngressPolicyIngressTo.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 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 ServicePerimeterIngressPolicyIngressTo(
public val operations: List? = null,
public val resources: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterIngressPolicyIngressTo): ServicePerimeterIngressPolicyIngressTo = ServicePerimeterIngressPolicyIngressTo(
operations = javaType.operations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterIngressPolicyIngressToOperation.Companion.toKotlin(args0)
})
}),
resources = javaType.resources().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy