@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.455Z") @Stability(value=Stable) 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()
The type of authentication that your function URL uses.
|
default FunctionUrlCorsOptions |
getCors()
The cross-origin resource sharing (CORS) settings for your function URL.
|
@Stability(value=Stable) @Nullable default FunctionUrlAuthType getAuthType()
Default: FunctionUrlAuthType.AWS_IAM
@Stability(value=Stable) @Nullable default FunctionUrlCorsOptions getCors()
Default: - No CORS configuration.
@Stability(value=Stable) static FunctionUrlOptions.Builder builder()
FunctionUrlOptions.Builder of FunctionUrlOptionsCopyright © 2022. All rights reserved.