Class CfnLoggerDefinition.LoggerDefinitionVersionProperty
A logger definition version contains a list of loggers .
Inheritance
System.Object
CfnLoggerDefinition.LoggerDefinitionVersionProperty
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class LoggerDefinitionVersionProperty : Object, CfnLoggerDefinition.ILoggerDefinitionVersionProperty
Syntax (vb)
Public Class LoggerDefinitionVersionProperty
Inherits Object
Implements CfnLoggerDefinition.ILoggerDefinitionVersionProperty
Remarks
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
In an AWS CloudFormation template, LoggerDefinitionVersion
is the property type of the InitialVersion
property in the AWS::Greengrass::LoggerDefinition
resource.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Greengrass;
var loggerDefinitionVersionProperty = new LoggerDefinitionVersionProperty {
Loggers = new [] { new LoggerProperty {
Component = "component",
Id = "id",
Level = "level",
Type = "type",
// the properties below are optional
Space = 123
} }
};
Synopsis
Constructors
LoggerDefinitionVersionProperty() |
Properties
Loggers | The loggers in this version. |
Constructors
LoggerDefinitionVersionProperty()
public LoggerDefinitionVersionProperty()
Properties
Loggers
The loggers in this version.
public object Loggers { get; set; }
Property Value
System.Object