@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:56.431Z") public enum FunctionUrlAuthType extends java.lang.Enum<FunctionUrlAuthType>
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();
Enum Constant and Description |
---|
AWS_IAM
Restrict access to authenticated IAM users only.
|
NONE
Bypass IAM authentication to create a public endpoint.
|
Modifier and Type | Method and Description |
---|---|
static FunctionUrlAuthType |
valueOf(java.lang.String name)
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.
|
public static final FunctionUrlAuthType AWS_IAM
public static final FunctionUrlAuthType NONE
public static FunctionUrlAuthType[] values()
for (FunctionUrlAuthType c : FunctionUrlAuthType.values()) System.out.println(c);
public static FunctionUrlAuthType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null