import { Value } from '../../../cloudformation/Value';
/**
  <a name="aws-properties-greengrass-loggerdefinition-logger-description"></a>A logger represents logging settings for the AWS IoT Greengrass group, which can be stored in CloudWatch and the local file system of your core device. All log entries include a timestamp, log level, and information about the event. For more information, see <a href="https://docs.aws.amazon.com/greengrass/latest/developerguide/greengrass-logs-overview.html">Monitoring with AWS IoT Greengrass Logs</a> in the <em>AWS IoT Greengrass Version 1 Developer Guide</em>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrass-loggerdefinition-logger.html">the AWS Docs</a>
*/
export interface LoggerProps {
    /** <code>Space</code>  <a name="cfn-greengrass-loggerdefinition-logger-space"></a>
  The amount of file space (in KB) to use when writing logs to the local file system. This property does not apply for CloudWatch Logs.<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> */
    space?: Value<number>;
    /** <code>Type</code>  <a name="cfn-greengrass-loggerdefinition-logger-type"></a>
  The storage mechanism for log events. Valid values are <code>FileSystem</code> or <code>AWSCloudWatch</code>. When <code>AWSCloudWatch</code> is used, log events are sent to CloudWatch Logs. When <code>FileSystem</code> is used, log events are stored on the local file system.<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> */
    type: Value<string>;
    /** <code>Level</code>  <a name="cfn-greengrass-loggerdefinition-logger-level"></a>
  The log-level threshold. Log events below this threshold are filtered out and aren’t stored. Valid values are <code>DEBUG</code>, <code>INFO</code> (recommended), <code>WARN</code>, <code>ERROR</code>, or <code>FATAL</code>.<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> */
    level: Value<string>;
    /** <code>Id</code>  <a name="cfn-greengrass-loggerdefinition-logger-id"></a>
  A descriptive or arbitrary ID for the logger. This value must be unique within the logger definition version. Maximum length is 128 characters with pattern <code>[a-zA-Z0-9:_-]+</code>.<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> */
    id: Value<string>;
    /** <code>Component</code>  <a name="cfn-greengrass-loggerdefinition-logger-component"></a>
  The source of the log event. Valid values are <code>GreengrassSystem</code> or <code>Lambda</code>. When <code>GreengrassSystem</code> is used, events from Greengrass system components are logged. When <code>Lambda</code> is used, events from user-defined Lambda functions are logged.<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> */
    component: Value<string>;
}
