Enum FunctionUrlAuthType
- All Implemented Interfaces:
Serializable
,Comparable<FunctionUrlAuthType>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-15T01:32:50.399Z")
@Stability(Stable)
public enum FunctionUrlAuthType
extends Enum<FunctionUrlAuthType>
The auth types for a function url.
Example:
// Can be a Function or an Alias Function fn; FunctionUrl fnUrl = fn.addFunctionUrl(FunctionUrlOptions.builder() .authType(FunctionUrlAuthType.NONE) .build()); CfnOutput.Builder.create(this, "TheUrl") .value(fnUrl.getUrl()) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionUrlAuthType
Returns the enum constant of this type with the specified name.static FunctionUrlAuthType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AWS_IAM
Restrict access to authenticated IAM users only. -
NONE
Bypass IAM authentication to create a public endpoint.
-
-
Method Details
-
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
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
-