Interface Ulimit

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Ulimit.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:29.376Z") @Stability(Stable) public interface Ulimit extends software.amazon.jsii.JsiiSerializable
The ulimit settings to pass to the container.

NOTE: Does not work for Windows containers.

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.*;
 Ulimit ulimit = Ulimit.builder()
         .hardLimit(123)
         .name(UlimitName.CORE)
         .softLimit(123)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Ulimit
    static final class 
    An implementation for Ulimit
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The hard limit for the ulimit type.
    The type of the ulimit.
    The soft limit for the ulimit type.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getHardLimit

      @Stability(Stable) @NotNull Number getHardLimit()
      The hard limit for the ulimit type.
    • getName

      @Stability(Stable) @NotNull UlimitName getName()
      The type of the ulimit.

      For more information, see UlimitName.

    • getSoftLimit

      @Stability(Stable) @NotNull Number getSoftLimit()
      The soft limit for the ulimit type.
    • builder

      @Stability(Stable) static Ulimit.Builder builder()
      Returns:
      a Ulimit.Builder of Ulimit