@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.637Z") @Stability(value=Stable) public interface CfnLoggerDefinitionProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLoggerDefinitionProps.Builder
A builder for
CfnLoggerDefinitionProps |
static class |
CfnLoggerDefinitionProps.Jsii$Proxy
An implementation for
CfnLoggerDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLoggerDefinitionProps.Builder |
builder() |
default Object |
getInitialVersion()
The logger definition version to include when the logger definition is created.
|
String |
getName()
The name of the logger definition.
|
default Object |
getTags()
Application-specific metadata to attach to the logger definition.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getInitialVersion()
A logger definition version contains a list of logger property 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.
@Stability(value=Stable) @Nullable default Object getTags()
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 Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
@Stability(value=Stable) static CfnLoggerDefinitionProps.Builder builder()
CfnLoggerDefinitionProps.Builder of CfnLoggerDefinitionPropsCopyright © 2022. All rights reserved.