Enum AccessKeyStatus

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

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.820Z") @Stability(Stable) public enum AccessKeyStatus extends Enum<AccessKeyStatus>
Valid statuses for an IAM Access Key.
  • Enum Constant Details

    • ACTIVE

      @Stability(Stable) public static final AccessKeyStatus ACTIVE
      An active access key.

      An active key can be used to make API calls.

    • INACTIVE

      @Stability(Stable) public static final AccessKeyStatus INACTIVE
      An inactive access key.

      An inactive key cannot be used to make API calls.

  • Method Details

    • values

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