Interface CfnLoggerDefinitionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLoggerDefinitionMixinProps.Jsii$Proxy
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.*;
Object tags;
CfnLoggerDefinitionMixinProps cfnLoggerDefinitionMixinProps = CfnLoggerDefinitionMixinProps.builder()
.initialVersion(LoggerDefinitionVersionProperty.builder()
.loggers(List.of(LoggerProperty.builder()
.component("component")
.id("id")
.level("level")
.space(123)
.type("type")
.build()))
.build())
.name("name")
.tags(tags)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLoggerDefinitionMixinPropsstatic final classAn implementation forCfnLoggerDefinitionMixinProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInitialVersion
The 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.Returns union: either
IResolvableorCfnLoggerDefinitionPropsMixin.LoggerDefinitionVersionProperty- See Also:
-
getName
The name of the logger definition.- See Also:
-
getTags
Application-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 CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- See Also:
-
builder
-