Update Function Url Config
lambda_update_function_url_config | R Documentation |
Updates the configuration for a Lambda function URL¶
Description¶
Updates the configuration for a Lambda function URL.
Usage¶
lambda_update_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 |
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",
LastModifiedTime = "string",
InvokeMode = "BUFFERED"|"RESPONSE_STREAM"
)
Request syntax¶
svc$update_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"
)