Show / Hide Table of Contents

Class CfnLoggerDefinitionProps

Properties for defining a CfnLoggerDefinition.

Inheritance
object
CfnLoggerDefinitionProps
Implements
ICfnLoggerDefinitionProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggerDefinitionProps : ICfnLoggerDefinitionProps
Syntax (vb)
Public Class CfnLoggerDefinitionProps Implements ICfnLoggerDefinitionProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Greengrass;

             var tags;

             var cfnLoggerDefinitionProps = new CfnLoggerDefinitionProps {
                 Name = "name",

                 // the properties below are optional
                 InitialVersion = new LoggerDefinitionVersionProperty {
                     Loggers = new [] { new LoggerProperty {
                         Component = "component",
                         Id = "id",
                         Level = "level",
                         Type = "type",

                         // the properties below are optional
                         Space = 123
                     } }
                 },
                 Tags = tags
             };

Synopsis

Constructors

CfnLoggerDefinitionProps()

Properties for defining a CfnLoggerDefinition.

Properties

InitialVersion

The logger definition version to include when the logger definition is created.

Name

The name of the logger definition.

Tags

Application-specific metadata to attach to the logger definition.

Constructors

CfnLoggerDefinitionProps()

Properties for defining a CfnLoggerDefinition.

public CfnLoggerDefinitionProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Greengrass;

             var tags;

             var cfnLoggerDefinitionProps = new CfnLoggerDefinitionProps {
                 Name = "name",

                 // the properties below are optional
                 InitialVersion = new LoggerDefinitionVersionProperty {
                     Loggers = new [] { new LoggerProperty {
                         Component = "component",
                         Id = "id",
                         Level = "level",
                         Type = "type",

                         // the properties below are optional
                         Space = 123
                     } }
                 },
                 Tags = tags
             };

Properties

InitialVersion

The logger definition version to include when the logger definition is created.

public object? InitialVersion { get; set; }
Property Value

object

Remarks

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 <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinitionversion.html"><code>AWS::Greengrass::LoggerDefinitionVersion</code></a> resource and specify the ID of this logger definition.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-initialversion

Name

The name of the logger definition.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-name

Tags

Application-specific metadata to attach to the logger definition.

public object? Tags { get; set; }
Property Value

object

Remarks

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"
}

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html#cfn-greengrass-loggerdefinition-tags

Implements

ICfnLoggerDefinitionProps
Back to top Generated by DocFX