@Stability(value=Stable) public static final class FunctionUrlProps.Builder extends Object implements software.amazon.jsii.Builder<FunctionUrlProps>
FunctionUrlProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionUrlProps.Builder |
authType(FunctionUrlAuthType authType)
Sets the value of
FunctionUrlOptions.getAuthType() |
FunctionUrlProps |
build()
Builds the configured instance.
|
FunctionUrlProps.Builder |
cors(FunctionUrlCorsOptions cors)
Sets the value of
FunctionUrlOptions.getCors() |
FunctionUrlProps.Builder |
function(IFunction function)
Sets the value of
FunctionUrlProps.getFunction() |
@Stability(value=Stable) public FunctionUrlProps.Builder function(IFunction function)
FunctionUrlProps.getFunction()function - The function to which this url refers. This parameter is required.
It can also be an Alias but not a Version.this@Stability(value=Stable) public FunctionUrlProps.Builder authType(FunctionUrlAuthType authType)
FunctionUrlOptions.getAuthType()authType - The type of authentication that your function URL uses.this@Stability(value=Stable) public FunctionUrlProps.Builder cors(FunctionUrlCorsOptions cors)
FunctionUrlOptions.getCors()cors - The cross-origin resource sharing (CORS) settings for your function URL.this@Stability(value=Stable) public FunctionUrlProps build()
build in interface software.amazon.jsii.Builder<FunctionUrlProps>FunctionUrlPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.