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

ResourceAccessPolicy

import type { ResourceAccessPolicy } from "https://aws-api.deno.dev/v0.3/services/greengrass.ts?docs=full";

A policy used by the function to access a resource.

interface ResourceAccessPolicy {
Permission?: Permission | null;
ResourceId: string;
}

§Properties

§
Permission?: Permission | null
[src]

The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or ''ro'' (read-only).

§
ResourceId: string
[src]

The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)