Interface FunctionUrlOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
FunctionUrlProps
- All Known Implementing Classes:
FunctionUrlOptions.Jsii$Proxy
,FunctionUrlProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:17.687Z")
@Stability(Stable)
public interface FunctionUrlOptions
extends software.amazon.jsii.JsiiSerializable
Options to add a url to a Lambda function.
Example:
// Can be a Function or an Alias Function fn; FunctionUrl fnUrl = fn.addFunctionUrl(FunctionUrlOptions.builder() .authType(FunctionUrlAuthType.NONE) .build()); CfnOutput.Builder.create(this, "TheUrl") .value(fnUrl.getUrl()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFunctionUrlOptions
static final class
An implementation forFunctionUrlOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic FunctionUrlOptions.Builder
builder()
default FunctionUrlAuthType
The type of authentication that your function URL uses.default FunctionUrlCorsOptions
getCors()
The cross-origin resource sharing (CORS) settings for your function URL.default InvokeMode
The type of invocation mode that your Lambda function uses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAuthType
The type of authentication that your function URL uses.Default: FunctionUrlAuthType.AWS_IAM
-
getCors
The cross-origin resource sharing (CORS) settings for your function URL.Default: - No CORS configuration.
-
getInvokeMode
The type of invocation mode that your Lambda function uses.Default: InvokeMode.BUFFERED
-
builder
- Returns:
- a
FunctionUrlOptions.Builder
ofFunctionUrlOptions
-