Class FunctionUrlAuthType
The auth types for a function url.
Inheritance
System.Object
FunctionUrlAuthType
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.AWS.Lambda.dll
Syntax (csharp)
public sealed class FunctionUrlAuthType : Enum
Syntax (vb)
Public NotInheritable Class FunctionUrlAuthType
Inherits
Enum
Remarks
ExampleMetadata: infused
Examples
// Can be a Function or an Alias
Function fn;
var fnUrl = fn.AddFunctionUrl(new FunctionUrlOptions {
AuthType = FunctionUrlAuthType.NONE
});
new CfnOutput(this, "TheUrl", new CfnOutputProps {
Value = fnUrl.Url
});
Synopsis
Fields
AWS_IAM | Restrict access to authenticated IAM users only. |
NONE | Bypass IAM authentication to create a public endpoint. |
value__ |
Fields
AWS_IAM
Restrict access to authenticated IAM users only.
public const FunctionUrlAuthType AWS_IAM
Field Value
Type | Description |
---|---|
FunctionUrlAuthType |
NONE
Bypass IAM authentication to create a public endpoint.
public const FunctionUrlAuthType NONE
Field Value
Type | Description |
---|---|
FunctionUrlAuthType |
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |