import { Value } from '../../../cloudformation/Value';
/**
  <a name="aws-properties-greengrass-functiondefinition-resourceaccesspolicy-description"></a>A list of the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-resourcedefinitionversion-resourceinstance.html">resources</a> in the group that the function can access, with the corresponding read-only or read-write permissions. The maximum is 10 resources.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinition-resourceaccesspolicy.html">the AWS Docs</a>
*/
export interface ResourceAccessPolicyProps {
    /** <code>ResourceId</code>  <a name="cfn-greengrass-functiondefinition-resourceaccesspolicy-resourceid"></a>
  The ID of the resource. This ID is assigned to the resource when you create the resource definition.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    resourceId: Value<string>;
    /** <code>Permission</code>  <a name="cfn-greengrass-functiondefinition-resourceaccesspolicy-permission"></a>
  The read-only or read-write access that the Lambda function has to the resource. Valid values are <code>ro</code> or <code>rw</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    permission?: Value<string>;
}
