Enum UlimitName

java.lang.Object
java.lang.Enum<UlimitName>
software.amazon.awscdk.services.ecs.UlimitName
All Implemented Interfaces:
Serializable, Comparable<UlimitName>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-25T14:21:14.708Z") @Stability(Stable) public enum UlimitName extends Enum<UlimitName>
Type of resource to set a limit on.

Example:

 Ec2TaskDefinition taskDefinition = new Ec2TaskDefinition(this, "TaskDef");
 taskDefinition.addContainer("TheContainer", ContainerDefinitionOptions.builder()
         .image(ContainerImage.fromRegistry("example-image"))
         .ulimits(List.of(Ulimit.builder()
                 .hardLimit(128)
                 .name(UlimitName.RSS)
                 .softLimit(128)
                 .build()))
         .build());
 
  • Enum Constant Details

    • CORE

      @Stability(Stable) public static final UlimitName CORE
    • CPU

      @Stability(Stable) public static final UlimitName CPU
    • DATA

      @Stability(Stable) public static final UlimitName DATA
    • FSIZE

      @Stability(Stable) public static final UlimitName FSIZE
    • LOCKS

      @Stability(Stable) public static final UlimitName LOCKS
    • MEMLOCK

      @Stability(Stable) public static final UlimitName MEMLOCK
    • MSGQUEUE

      @Stability(Stable) public static final UlimitName MSGQUEUE
    • NICE

      @Stability(Stable) public static final UlimitName NICE
    • NOFILE

      @Stability(Stable) public static final UlimitName NOFILE
    • NPROC

      @Stability(Stable) public static final UlimitName NPROC
    • RSS

      @Stability(Stable) public static final UlimitName RSS
    • RTPRIO

      @Stability(Stable) public static final UlimitName RTPRIO
    • RTTIME

      @Stability(Stable) public static final UlimitName RTTIME
    • SIGPENDING

      @Stability(Stable) public static final UlimitName SIGPENDING
    • STACK

      @Stability(Stable) public static final UlimitName STACK
  • Method Details

    • values

      public static UlimitName[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static UlimitName valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null