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

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-18T17:54:15.476Z") @Stability(Stable) public enum Action extends Enum<Action>
What action to apply to traffic matching the ACL.
  • Enum Constant Details

    • ALLOW

      @Stability(Stable) public static final Action ALLOW
      Allow the traffic.
    • DENY

      @Stability(Stable) public static final Action DENY
      Deny the traffic.
  • Method Details

    • values

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