Interface CfnFunctionDefinitionPropsMixin.ResourceAccessPolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnFunctionDefinitionPropsMixin.ResourceAccessPolicyProperty.Jsii$Proxy
Enclosing class:
CfnFunctionDefinitionPropsMixin

@Stability(Stable) public static interface CfnFunctionDefinitionPropsMixin.ResourceAccessPolicyProperty extends software.amazon.jsii.JsiiSerializable
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.

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

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

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.cfnpropertymixins.services.greengrass.*;
 ResourceAccessPolicyProperty resourceAccessPolicyProperty = ResourceAccessPolicyProperty.builder()
         .permission("permission")
         .resourceId("resourceId")
         .build();
 

See Also: