@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-06T20:02:51.906Z")
public interface FunctionUrlOptions
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.
|
default FunctionUrlAuthType getAuthType()
Default: FunctionUrlAuthType.AWS_IAM
default FunctionUrlCorsOptions getCors()
Default: - No CORS configuration.
static FunctionUrlOptions.Builder builder()
FunctionUrlOptions.Builder
of FunctionUrlOptions