com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterSpecEgressPolicyEgressTo.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 externalResources A list of external resources that are allowed to be accessed. A request
* matches if it contains an external resource in this list (Example:
* s3://bucket/path). Currently '*' is not allowed.
* @property operations A list of `ApiOperations` that this egress rule applies to. A request matches
* if it contains an operation/service in this list.
* Structure is documented below.
* @property resources A list of resources, currently only projects in the form
* `projects/`, that match this to stanza. A request matches
* if it contains a resource in this list. If * is specified for resources,
* then this `EgressTo` rule will authorize access to all resources outside
* the perimeter.
*/
public data class ServicePerimeterSpecEgressPolicyEgressTo(
public val externalResources: List? = null,
public val operations: List? = null,
public val resources: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.accesscontextmanager.outputs.ServicePerimeterSpecEgressPolicyEgressTo): ServicePerimeterSpecEgressPolicyEgressTo = ServicePerimeterSpecEgressPolicyEgressTo(
externalResources = javaType.externalResources().map({ args0 -> args0 }),
operations = javaType.operations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.accesscontextmanager.kotlin.outputs.ServicePerimeterSpecEgressPolicyEgressToOperation.Companion.toKotlin(args0)
})
}),
resources = javaType.resources().map({ args0 -> args0 }),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy