@Stability(value=Stable) public static final class CfnLoggerDefinition.Builder extends Object implements software.amazon.jsii.Builder<CfnLoggerDefinition>
CfnLoggerDefinition.| Modifier and Type | Method and Description |
|---|---|
CfnLoggerDefinition |
build() |
static CfnLoggerDefinition.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLoggerDefinition.Builder |
initialVersion(CfnLoggerDefinition.LoggerDefinitionVersionProperty initialVersion)
The logger definition version to include when the logger definition is created.
|
CfnLoggerDefinition.Builder |
initialVersion(IResolvable initialVersion)
The logger definition version to include when the logger definition is created.
|
CfnLoggerDefinition.Builder |
name(String name)
The name of the logger definition.
|
CfnLoggerDefinition.Builder |
tags(Object tags)
Application-specific metadata to attach to the logger definition.
|
@Stability(value=Stable) public static CfnLoggerDefinition.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLoggerDefinition.LoggerDefinitionVersionProperty.Builder.@Stability(value=Stable) public CfnLoggerDefinition.Builder name(String name)
name - The name of the logger definition. This parameter is required.this@Stability(value=Stable) public CfnLoggerDefinition.Builder initialVersion(CfnLoggerDefinition.LoggerDefinitionVersionProperty initialVersion)
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.
initialVersion - The logger definition version to include when the logger definition is created. This parameter is required.this@Stability(value=Stable) public CfnLoggerDefinition.Builder initialVersion(IResolvable initialVersion)
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.
initialVersion - The logger definition version to include when the logger definition is created. This parameter is required.this@Stability(value=Stable) public CfnLoggerDefinition.Builder tags(Object tags)
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"
}
tags - Application-specific metadata to attach to the logger definition. This parameter is required.this@Stability(value=Stable) public CfnLoggerDefinition build()
build in interface software.amazon.jsii.Builder<CfnLoggerDefinition>Copyright © 2022. All rights reserved.