Enum CustomAuthorizerType
- java.lang.Object
-
- java.lang.Enum<CustomAuthorizerType>
-
- software.aws.awsprototypingsdk.openapigateway.CustomAuthorizerType
-
- All Implemented Interfaces:
Serializable,Comparable<CustomAuthorizerType>
@Generated(value="jsii-pacmak/1.61.0 (build abf4039)", date="2022-07-07T06:39:53.634Z") @Stability(Experimental) public enum CustomAuthorizerType extends Enum<CustomAuthorizerType>
(experimental) The type of custom authorizer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CustomAuthorizerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CustomAuthorizerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOKEN
@Stability(Experimental) public static final CustomAuthorizerType TOKEN
(experimental) A custom authorizer that uses a Lambda function.
-
REQUEST
@Stability(Experimental) public static final CustomAuthorizerType REQUEST
(experimental) An authorizer that uses a Lambda function using incoming request parameters.
-
-
Method Detail
-
values
public static CustomAuthorizerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CustomAuthorizerType c : CustomAuthorizerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomAuthorizerType 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 nameNullPointerException- if the argument is null
-
-