java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.iot.alpha.Logging
All Implemented Interfaces:
IEnvironmentAware, IResource, ILogging, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)", date="2026-07-02T13:33:03.593Z") @Stability(Experimental) public class Logging extends Resource implements ILogging
(experimental) Defines AWS IoT Logging.

Example:

 Logging.Builder.create(this, "Logging")
         .logLevel(LogLevel.INFO)
         .build();
 
  • Field Details

    • PROPERTY_INJECTION_ID

      @Stability(Experimental) public static final String PROPERTY_INJECTION_ID
      (experimental) Uniquely identifies this class.
  • Constructor Details

    • Logging

      protected Logging(software.amazon.jsii.JsiiObjectRef objRef)
    • Logging

      protected Logging(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • Logging

      @Stability(Experimental) public Logging(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable LoggingProps props)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      props -
    • Logging

      @Stability(Experimental) public Logging(@NotNull software.constructs.Construct scope, @NotNull String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
  • Method Details

    • fromLogId

      @Stability(Experimental) @NotNull public static ILogging fromLogId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String logId)
      (experimental) Import an existing AWS IoT Logging.

      Parameters:
      scope - The parent creating construct (usually this). This parameter is required.
      id - The construct's name. This parameter is required.
      logId - AWS IoT Logging ID. This parameter is required.
    • getLogId

      @Stability(Experimental) @NotNull public String getLogId()
      (experimental) The logging ID.
      Specified by:
      getLogId in interface ILogging