import { Value } from '../../../cloudformation/Value';
import { ExecutionProps } from './ExecutionProps';
import { ResourceAccessPolicyProps } from './ResourceAccessPolicyProps';
/**
  <a name="aws-properties-greengrass-functiondefinitionversion-environment-description"></a>The environment configuration for a Lambda function on the AWS IoT Greengrass core.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-functiondefinitionversion-environment.html">the AWS Docs</a>
*/
export interface EnvironmentProps {
    /** <code>Variables</code>  <a name="cfn-greengrass-functiondefinitionversion-environment-variables"></a>
  Environment variables for the Lambda function.<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> */
    variables?: Value<any>;
    /** <code>Execution</code>  <a name="cfn-greengrass-functiondefinitionversion-environment-execution"></a>
  Settings for the Lambda execution environment in AWS IoT Greengrass.<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> */
    execution?: ExecutionProps;
    /** <code>ResourceAccessPolicies</code>  <a name="cfn-greengrass-functiondefinitionversion-environment-resourceaccesspolicies"></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.<br />
  This property applies only to Lambda functions that run in a Greengrass container.
  
  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> */
    resourceAccessPolicies?: ResourceAccessPolicyProps[];
    /** <code>AccessSysfs</code>  <a name="cfn-greengrass-functiondefinitionversion-environment-accesssysfs"></a>
  Indicates whether the function is allowed to access the <code>/sys</code> directory on the core device, which allows the read device information from <code>/sys</code>.<br />
  This property applies only to Lambda functions that run in a Greengrass container.
  
  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> */
    accessSysfs?: Value<boolean>;
}
