Class Logging
(experimental) Defines AWS IoT Logging.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT.Alpha
Assembly: Amazon.CDK.AWS.IoT.Alpha.dll
Syntax (csharp)
public class Logging : Resource, ILogging, IResource, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class Logging Inherits Resource Implements ILogging, IResource, IConstruct, IDependable, IEnvironmentAware
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
new Logging(this, "Logging", new LoggingProps {
LogLevel = LogLevel.INFO
});
Synopsis
Constructors
| Logging(Construct, string, ILoggingProps?) | (experimental) Defines AWS IoT Logging. |
Properties
| LogId | (experimental) The logging ID. |
| PROPERTY_INJECTION_ID | (experimental) Uniquely identifies this class. |
Methods
| FromLogId(Construct, string, string) | (experimental) Import an existing AWS IoT Logging. |
Constructors
Logging(Construct, string, ILoggingProps?)
(experimental) Defines AWS IoT Logging.
public Logging(Construct scope, string id, ILoggingProps? props = null)
Parameters
- scope Construct
- id string
- props ILoggingProps
Remarks
Stability: Experimental
Properties
LogId
(experimental) The logging ID.
public virtual string LogId { get; }
Property Value
Remarks
Stability: Experimental
Attribute: true
PROPERTY_INJECTION_ID
(experimental) Uniquely identifies this class.
public static string PROPERTY_INJECTION_ID { get; }
Property Value
Remarks
Stability: Experimental
Methods
FromLogId(Construct, string, string)
(experimental) Import an existing AWS IoT Logging.
public static ILogging FromLogId(Construct scope, string id, string logId)
Parameters
- scope Construct
The parent creating construct (usually
this).- id string
The construct's name.
- logId string
AWS IoT Logging ID.
Returns
Remarks
Stability: Experimental
Implements
Constructs.IConstruct
Constructs.IDependable