Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS::Greengrass::FunctionDefinition ResourceAccessPolicy

Focus mode

On this page

AWS::Greengrass::FunctionDefinition ResourceAccessPolicy - AWS CloudFormation
Filter View

A list of the resources in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.

Note

This property applies only to Lambda functions that run in a Greengrass container.

In an AWS CloudFormation template, ResourceAccessPolicy is a property of the Environment property type.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Permission" : String, "ResourceId" : String }

YAML

Permission: String ResourceId: String

Properties

Permission

The read-only or read-write access that the Lambda function has to the resource. Valid values are ro or rw.

Required: No

Type: String

Update requires: Replacement

ResourceId

The ID of the resource. This ID is assigned to the resource when you create the resource definition.

Required: Yes

Type: String

Update requires: Replacement

See also

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.