Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EgressSource

import type { EgressSource } from "https://googleapis.deno.dev/v1/accesscontextmanager:v1.ts";

The source that EgressPolicy authorizes access from inside the ServicePerimeter to somewhere outside the ServicePerimeter boundaries.

interface EgressSource {
accessLevel?: string;
resource?: string;
}

§Properties

§
accessLevel?: string
[src]

An AccessLevel resource name that allows protected resources inside the ServicePerimeters to access outside the ServicePerimeter boundaries. AccessLevels listed must be in the same policy as this ServicePerimeter. Referencing a nonexistent AccessLevel will cause an error. If an AccessLevel name is not specified, only resources within the perimeter can be accessed through Google Cloud calls with request origins within the perimeter. Example: accessPolicies/MY_POLICY/accessLevels/MY_LEVEL. If a single * is specified for access_level, then all EgressSources will be allowed.

§
resource?: string
[src]

A Google Cloud resource from the service perimeter that you want to allow to access data outside the perimeter. This field supports only projects. The project format is projects/{project_number}. You can't use * in this field to allow all Google Cloud resources.