Class CfnLoggerDefinitionVersion
The AWS::Greengrass::LoggerDefinitionVersion
resource represents a logger definition version for AWS IoT Greengrass .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Greengrass
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLoggerDefinitionVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnLoggerDefinitionVersion Inherits CfnResource Implements IInspectable
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
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 cfnLoggerDefinitionVersion = new CfnLoggerDefinitionVersion(this, "MyCfnLoggerDefinitionVersion", new CfnLoggerDefinitionVersionProps {
LoggerDefinitionId = "loggerDefinitionId",
Loggers = new [] { new LoggerProperty {
Component = "component",
Id = "id",
Level = "level",
Type = "type",
// the properties below are optional
Space = 123
} }
});
Synopsis
Constructors
CfnLoggerDefinitionVersion(Construct, string, ICfnLoggerDefinitionVersionProps) | The |
Properties
AttrId | The |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | The |
LoggerDefinitionId | The ID of the logger definition associated with this version. |
Loggers | The loggers in this version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnLoggerDefinitionVersion(Construct, string, ICfnLoggerDefinitionVersionProps)
The AWS::Greengrass::LoggerDefinitionVersion
resource represents a logger definition version for AWS IoT Greengrass .
public CfnLoggerDefinitionVersion(Construct scope, string id, ICfnLoggerDefinitionVersionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnLoggerDefinitionVersionProps
Resource properties.
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
Properties
AttrId
The AWS::Greengrass::LoggerDefinitionVersion
resource represents a logger definition version for AWS IoT Greengrass .
public virtual string AttrId { get; }
Property Value
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::Greengrass::LoggerDefinitionVersion
resource represents a logger definition version for AWS IoT Greengrass .
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
LoggerDefinitionId
The ID of the logger definition associated with this version.
public virtual string LoggerDefinitionId { get; set; }
Property Value
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
Loggers
The loggers in this version.
public virtual object Loggers { get; set; }
Property Value
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::Greengrass::LoggerDefinitionVersion
resource represents a logger definition version for AWS IoT Greengrass .
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
A logger definition version contains a list of loggers.
To create a logger definition version, you must specify the ID of the logger definition that you want to associate with the version. For information about creating a logger definition, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-greengrass-loggerdefinition.html"><code>AWS::Greengrass::LoggerDefinition</code></a> .
After you create a logger definition version that contains the loggers you want to deploy, you must add it to your group version. For more information, see AWS::Greengrass::Group
.
CloudformationResource: AWS::Greengrass::LoggerDefinitionVersion
ExampleMetadata: fixture=_generated