Enum FunctionUrlAuthType

All Implemented Interfaces:
Serializable, Comparable<FunctionUrlAuthType>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:34.551Z") @Stability(Stable) public enum FunctionUrlAuthType extends Enum<FunctionUrlAuthType>
The auth types for a function url.


 // Can be a Function or an Alias
 Function fn;
 FunctionUrl fnUrl = fn.addFunctionUrl(FunctionUrlOptions.builder()
 CfnOutput.Builder.create(this, "TheUrl")
  • Enum Constant Details

    • AWS_IAM

      @Stability(Stable) public static final FunctionUrlAuthType AWS_IAM
      Restrict access to authenticated IAM users only.
    • NONE

      @Stability(Stable) public static final FunctionUrlAuthType NONE
      Bypass IAM authentication to create a public endpoint.
  • Method Details

    • values

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

      public static FunctionUrlAuthType 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null