enum FunctionUrlAuthType
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.Lambda.FunctionUrlAuthType | 
|  Java | software.amazon.awscdk.services.lambda.FunctionUrlAuthType | 
|  Python | aws_cdk.aws_lambda.FunctionUrlAuthType | 
|  TypeScript (source) | @aws-cdk/aws-lambda»FunctionUrlAuthType | 
The auth types for a function url.
Example
// Can be a Function or an Alias
declare const fn: lambda.Function;
const fnUrl = fn.addFunctionUrl({
  authType: lambda.FunctionUrlAuthType.NONE,
});
new CfnOutput(this, 'TheUrl', {
  value: fnUrl.url,
});
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.
