aws-cdk-lib.aws_lambda.FunctionUrlAuthType
enum FunctionUrlAuthType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.FunctionUrlAuthType |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslambda#FunctionUrlAuthType |
![]() | software.amazon.awscdk.services.lambda.FunctionUrlAuthType |
![]() | aws_cdk.aws_lambda.FunctionUrlAuthType |
![]() | aws-cdk-lib » aws_lambda » FunctionUrlAuthType |
The auth types for a function url.
Example
declare const fn: lambda.Function;
fn.addFunctionUrl({
authType: lambda.FunctionUrlAuthType.NONE,
invokeMode: lambda.InvokeMode.RESPONSE_STREAM,
});
Members
Name | Description |
---|---|
AWS_IAM | Restrict access to authenticated IAM users only. |
NONE | Bypass IAM authentication to create a public endpoint. |
AWS_IAM
Restrict access to authenticated IAM users only.
NONE
Bypass IAM authentication to create a public endpoint.