Interface CfnLoggerDefinitionProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnLoggerDefinitionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:29:57.013Z")
@Stability(Stable)
public interface CfnLoggerDefinitionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a 
CfnLoggerDefinition.
 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.*;
 Object tags;
 CfnLoggerDefinitionProps cfnLoggerDefinitionProps = CfnLoggerDefinitionProps.builder()
         .name("name")
         // the properties below are optional
         .initialVersion(LoggerDefinitionVersionProperty.builder()
                 .loggers(List.of(LoggerProperty.builder()
                         .component("component")
                         .id("id")
                         .level("level")
                         .type("type")
                         // the properties below are optional
                         .space(123)
                         .build()))
                 .build())
         .tags(tags)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoggerDefinitionPropsstatic final classAn implementation forCfnLoggerDefinitionProps
- 
Method SummaryMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getNameThe name of the logger definition.
- 
getInitialVersionThe logger definition version to include when the logger definition is created.A logger definition version contains a list of loggerproperty types.To associate a logger definition version after the logger definition is created, create an AWS::Greengrass::LoggerDefinitionVersionresource and specify the ID of this logger definition.
- 
getTagsApplication-specific metadata to attach to the logger definition.You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide . This Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in AWS CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- 
builder- Returns:
- a CfnLoggerDefinitionProps.BuilderofCfnLoggerDefinitionProps
 
 
-