Create Function Url Config
lambda_create_function_url_config | R Documentation |
Creates a Lambda function URL with the specified configuration parameters¶
Description¶
Creates a Lambda function URL with the specified configuration parameters. A function URL is a dedicated HTTP(S) endpoint that you can use to invoke your function.
Usage¶
lambda_create_function_url_config(FunctionName, Qualifier, AuthType,
Cors, InvokeMode)
Arguments¶
FunctionName |
[required] The name or ARN of the Lambda function. Name formats
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length. |
Qualifier |
The alias name. |
AuthType |
[required] The type of authentication that your function URL
uses. Set to |
Cors |
The cross-origin resource sharing (CORS) settings for your function URL. |
InvokeMode |
Use one of the following options:
|
Value¶
A list with the following syntax:
list(
FunctionUrl = "string",
FunctionArn = "string",
AuthType = "NONE"|"AWS_IAM",
Cors = list(
AllowCredentials = TRUE|FALSE,
AllowHeaders = list(
"string"
),
AllowMethods = list(
"string"
),
AllowOrigins = list(
"string"
),
ExposeHeaders = list(
"string"
),
MaxAge = 123
),
CreationTime = "string",
InvokeMode = "BUFFERED"|"RESPONSE_STREAM"
)
Request syntax¶
svc$create_function_url_config(
FunctionName = "string",
Qualifier = "string",
AuthType = "NONE"|"AWS_IAM",
Cors = list(
AllowCredentials = TRUE|FALSE,
AllowHeaders = list(
"string"
),
AllowMethods = list(
"string"
),
AllowOrigins = list(
"string"
),
ExposeHeaders = list(
"string"
),
MaxAge = 123
),
InvokeMode = "BUFFERED"|"RESPONSE_STREAM"
)