Menu
AWS Greengrass
API Reference

ResourceAccessPolicy

Copy
{ "ResourceId": "string", "Permission": "ro|rw" }
ResourceAccessPolicy

A policy used by the function to access a resource.

type: object

required: ["ResourceId"]

ResourceId

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

type: string

Permission

The type of permission a function has to access a resource.

type: string

enum: ["ro", "rw"]