enum FunctionUrlAuthType
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lambda.FunctionUrlAuthType |
![]() | software.amazon.awscdk.services.lambda.FunctionUrlAuthType |
![]() | aws_cdk.aws_lambda.FunctionUrlAuthType |
![]() | @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.