@Stability(value=Stable) public static final class FunctionUrl.Builder extends Object implements software.amazon.jsii.Builder<FunctionUrl>
FunctionUrl.| Modifier and Type | Method and Description |
|---|---|
FunctionUrl.Builder |
authType(FunctionUrlAuthType authType)
The type of authentication that your function URL uses.
|
FunctionUrl |
build() |
FunctionUrl.Builder |
cors(FunctionUrlCorsOptions cors)
The cross-origin resource sharing (CORS) settings for your function URL.
|
static FunctionUrl.Builder |
create(software.constructs.Construct scope,
String id) |
FunctionUrl.Builder |
function(IFunction function)
The function to which this url refers.
|
@Stability(value=Stable) public static FunctionUrl.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.FunctionUrl.Builder.@Stability(value=Stable) public FunctionUrl.Builder authType(FunctionUrlAuthType authType)
Default: FunctionUrlAuthType.AWS_IAM
authType - The type of authentication that your function URL uses. This parameter is required.this@Stability(value=Stable) public FunctionUrl.Builder cors(FunctionUrlCorsOptions cors)
Default: - No CORS configuration.
cors - The cross-origin resource sharing (CORS) settings for your function URL. This parameter is required.this@Stability(value=Stable) public FunctionUrl.Builder function(IFunction function)
It can also be an Alias but not a Version.
function - The function to which this url refers. This parameter is required.this@Stability(value=Stable) public FunctionUrl build()
build in interface software.amazon.jsii.Builder<FunctionUrl>Copyright © 2023. All rights reserved.