Class NoneLogDriver

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ecs.LogDriver
software.amazon.awscdk.services.ecs.NoneLogDriver
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-19T12:03:53.878Z") @Stability(Stable) public class NoneLogDriver extends LogDriver
A log driver that sets the log driver to none (no logs collected).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ecs.*;
 NoneLogDriver noneLogDriver = new NoneLogDriver();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
    Constructs a new instance of the NoneLogDriver class.
    protected
    NoneLogDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    NoneLogDriver(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    bind(software.constructs.Construct _scope, ContainerDefinition _containerDefinition)
    Called when the log driver is configured on a container.

    Methods inherited from class software.amazon.awscdk.services.ecs.LogDriver

    awsLogs

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • NoneLogDriver

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

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

      @Stability(Stable) public NoneLogDriver()
      Constructs a new instance of the NoneLogDriver class.
  • Method Details

    • bind

      @Stability(Stable) @NotNull public LogDriverConfig bind(@NotNull software.constructs.Construct _scope, @NotNull ContainerDefinition _containerDefinition)
      Called when the log driver is configured on a container.

      Specified by:
      bind in class LogDriver
      Parameters:
      _scope - This parameter is required.
      _containerDefinition - This parameter is required.