ServicePerimeterEgressPolicyArgs

data class ServicePerimeterEgressPolicyArgs(val egressFrom: Output<ServicePerimeterEgressPolicyEgressFromArgs>? = null, val egressTo: Output<ServicePerimeterEgressPolicyEgressToArgs>? = null, val perimeter: Output<String>? = null) : ConvertibleToJava<ServicePerimeterEgressPolicyArgs>

EgressPolicies match requests based on egressFrom and egressTo stanzas. For an EgressPolicy to match, both egressFrom and egressTo stanzas must be matched. If an EgressPolicy matches a request, the request is allowed to span the ServicePerimeter boundary. For example, an EgressPolicy can be used to allow VMs on networks within the ServicePerimeter to access a defined set of projects outside the perimeter in certain contexts (e.g. to read data from a Cloud Storage bucket or query against a BigQuery dataset). To get more information about ServicePerimeterEgressPolicy, see:

Import

ServicePerimeterEgressPolicy can be imported using any of these accepted formats:

$ pulumi import gcp:accesscontextmanager/servicePerimeterEgressPolicy:ServicePerimeterEgressPolicy default {{perimeter}}

Constructors

Link copied to clipboard
constructor(egressFrom: Output<ServicePerimeterEgressPolicyEgressFromArgs>? = null, egressTo: Output<ServicePerimeterEgressPolicyEgressToArgs>? = null, perimeter: Output<String>? = null)

Properties

Link copied to clipboard

Defines conditions on the source of a request causing this EgressPolicy to apply. Structure is documented below.

Link copied to clipboard

Defines the conditions on the ApiOperation and destination resources that cause this EgressPolicy to apply. Structure is documented below.

Link copied to clipboard
val perimeter: Output<String>? = null

The name of the Service Perimeter to add this resource to.

Functions

Link copied to clipboard
open override fun toJava(): ServicePerimeterEgressPolicyArgs