Interface FunctionUrlOptions

All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
FunctionUrlOptions.Jsii$Proxy, FunctionUrlProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-02-23T02:06:34.552Z") @Stability(Stable) public interface FunctionUrlOptions extends
Options to add a url to a Lambda function.


 // Can be a Function or an Alias
 Function fn;
 FunctionUrl fnUrl = fn.addFunctionUrl(FunctionUrlOptions.builder()
 CfnOutput.Builder.create(this, "TheUrl")
  • Method Details

    • getAuthType

      @Stability(Stable) @Nullable default FunctionUrlAuthType getAuthType()
      The type of authentication that your function URL uses.

      Default: FunctionUrlAuthType.AWS_IAM

    • getCors

      @Stability(Stable) @Nullable default FunctionUrlCorsOptions getCors()
      The cross-origin resource sharing (CORS) settings for your function URL.

      Default: - No CORS configuration.

    • getInvokeMode

      @Stability(Stable) @Nullable default InvokeMode getInvokeMode()
      The type of invocation mode that your Lambda function uses.

      Default: InvokeMode.BUFFERED

    • builder

      @Stability(Stable) static FunctionUrlOptions.Builder builder()
      a FunctionUrlOptions.Builder of FunctionUrlOptions