Interface CfnLoggerDefinition.ILoggerDefinitionVersionProperty
A logger definition version contains a list of loggers .
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ILoggerDefinitionVersionProperty
Syntax (vb)
Public Interface 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
Properties
Loggers | The loggers in this version. |
Properties
Loggers
The loggers in this version.
object Loggers { get; }
Property Value
System.Object