Interface CfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty.Jsii$Proxy
- Enclosing class:
CfnLoggerDefinitionPropsMixin
@Stability(Stable)
public static interface CfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty
extends software.amazon.jsii.JsiiSerializable
A logger definition version contains a list of loggers .
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 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.cfnpropertymixins.services.greengrass.*;
LoggerDefinitionVersionProperty loggerDefinitionVersionProperty = LoggerDefinitionVersionProperty.builder()
.loggers(List.of(LoggerProperty.builder()
.component("component")
.id("id")
.level("level")
.space(123)
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLoggers
The loggers in this version.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnLoggerDefinitionPropsMixin.LoggerProperty>- See Also:
-
builder
@Stability(Stable) static CfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty.Builder builder()
-