public static interface CfnLoggerDefinition.LoggerDefinitionVersionProperty
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.
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.*; LoggerDefinitionVersionProperty loggerDefinitionVersionProperty = LoggerDefinitionVersionProperty.builder() .loggers(List.of(LoggerProperty.builder() .component("component") .id("id") .level("level") .type("type") // the properties below are optional .space(123) .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder
A builder for
CfnLoggerDefinition.LoggerDefinitionVersionProperty |
static class |
CfnLoggerDefinition.LoggerDefinitionVersionProperty.Jsii$Proxy
An implementation for
CfnLoggerDefinition.LoggerDefinitionVersionProperty |
Modifier and Type | Method and Description |
---|---|
static CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder |
builder() |
java.lang.Object |
getLoggers()
The loggers in this version.
|