Enum IpcMode

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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:16.504Z") @Stability(Stable) public enum IpcMode extends Enum<IpcMode>
The IPC resource namespace to use for the containers in the task.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    If host is specified, then all containers within the tasks that specified the host IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
    If none is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance.
    If task is specified, all containers within the specified task share the same IPC resources.
  • Method Summary

    Modifier and Type
    Method
    Description
    static IpcMode
    Returns the enum constant of this type with the specified name.
    static IpcMode[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      @Stability(Stable) public static final IpcMode NONE
      If none is specified, then IPC resources within the containers of a task are private and not shared with other containers in a task or on the container instance.
    • HOST

      @Stability(Stable) public static final IpcMode HOST
      If host is specified, then all containers within the tasks that specified the host IPC mode on the same container instance share the same IPC resources with the host Amazon EC2 instance.
    • TASK

      @Stability(Stable) public static final IpcMode TASK
      If task is specified, all containers within the specified task share the same IPC resources.
  • Method Details

    • values

      public static IpcMode[] 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 IpcMode 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