FunctionUrlAuthType

class aws_cdk.aws_lambda.FunctionUrlAuthType(value)

Bases: Enum

The auth types for a function url.

ExampleMetadata:

infused

Example:

# Can be a Function or an Alias
# fn: lambda.Function


fn_url = fn.add_function_url(
    auth_type=lambda_.FunctionUrlAuthType.NONE
)

CfnOutput(self, "TheUrl",
    value=fn_url.url
)

Attributes

AWS_IAM

Restrict access to authenticated IAM users only.

NONE

Bypass IAM authentication to create a public endpoint.