@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:33.844Z") @Stability(value=Experimental) public interface FunctionUrlOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
FunctionUrlOptions.Builder
A builder for
FunctionUrlOptions |
static class |
FunctionUrlOptions.Jsii$Proxy
An implementation for
FunctionUrlOptions |
| Modifier and Type | Method and Description |
|---|---|
static FunctionUrlOptions.Builder |
builder() |
default FunctionUrlAuthType |
getAuthType()
(experimental) The type of authentication that your function URL uses.
|
default FunctionUrlCorsOptions |
getCors()
(experimental) The cross-origin resource sharing (CORS) settings for your function URL.
|
@Stability(value=Experimental) @Nullable default FunctionUrlAuthType getAuthType()
Default: FunctionUrlAuthType.AWS_IAM
@Stability(value=Experimental) @Nullable default FunctionUrlCorsOptions getCors()
Default: - No CORS configuration.
@Stability(value=Experimental) static FunctionUrlOptions.Builder builder()
FunctionUrlOptions.Builder of FunctionUrlOptionsCopyright © 2022. All rights reserved.