Interface CfnLoggerDefinition.LoggerProperty

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

@Stability(Stable) public static interface CfnLoggerDefinition.LoggerProperty extends software.amazon.jsii.JsiiSerializable
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 Monitoring with AWS IoT Greengrass Logs in the Developer Guide .

In an AWS CloudFormation template, the Loggers property of the LoggerDefinitionVersion property type contains a list of Logger property types.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.greengrass.*;
 LoggerProperty loggerProperty = LoggerProperty.builder()
         .component("component")
         .id("id")
         .level("level")
         .type("type")
         // the properties below are optional
         .space(123)
         .build();
 

See Also: