@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.558Z") @Stability(value=Stable) public enum FunctionUrlAuthType extends 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(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.
|
@Stability(value=Stable) public static final FunctionUrlAuthType AWS_IAM
@Stability(value=Stable) public static final FunctionUrlAuthType NONE
public static FunctionUrlAuthType[] values()
for (FunctionUrlAuthType c : FunctionUrlAuthType.values()) System.out.println(c);
public static FunctionUrlAuthType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.