aws.lambda.update_function_configuration ​
Call AWS Lambda UpdateFunctionConfiguration using a CloudConnection UUID.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | Base-aws |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Authenticated organization UUID used for field resolution and connection scoping. |
connection_uuid | uuid | Yes | — | AWS CloudConnection UUID for the target IAM account, scoped to the caller organization. |
workflow_run_id | string | No | — | Engine DAG run ID stamped onto child steps. |
region | string | No | — | AWS API endpoint region override; omit to use the connection or SDK default. |
function_name | string | Yes | — | The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial ARN – 123456789012:function:my-f... |
role | string | No | — | The Amazon Resource Name (ARN) of the function's execution role. |
handler | string | No | — | The name of the method within your code that Lambda calls to run your function. Handler is required if the deployment package is a .zip file archive. The format includes the file name. It can also... |
description | string | No | — | A description of the function. |
timeout | integer | No | — | The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The maximum allowed value is 900 seconds. For more information, see Lambda executi... |
memory_size | integer | No | — | The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB. |
vpc_config | json | No | — | For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. When you connect a function to a VPC, it can access resources and the i... |
environment | json | No | — | Environment variables that are accessible from function code during execution. |
runtime | string | No | — | The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive. Specifying a runtime results in an error if you're deploying a function using a conta... |
dead_letter_config | json | No | — | A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing. For more information, see Dead-letter queues. |
kms_key_arn | string | No | — | The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt the following resources: The function's environment variables. The function's Lambda SnapStart snapshots. Whe... |
tracing_config | json | No | — | Set Mode to Active to sample and trace a subset of incoming requests with X-Ray. |
revision_id | string | No | — | Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a function that has changed since you last read it. |
layers | list | No | — | A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version. |
file_system_configs | list | No | — | Connection settings for an Amazon EFS file system or an Amazon S3 Files file system. |
image_config | json | No | — | Container image configuration values that override the values in the container image Docker file. |
ephemeral_storage | json | No | — | The size of the function's /tmp directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see Configuring ephemeral storage (console). |
snap_start | json | No | — | The function's SnapStart setting. |
logging_config | json | No | — | The function's Amazon CloudWatch Logs configuration settings. |
capacity_provider_config | json | No | — | Configuration for the capacity provider that manages compute resources for Lambda functions. |
durable_config | json | No | — | Configuration settings for durable functions. Allows updating execution timeout and retention period for functions with durability enabled. |
provider_native_request | json | No | — | Optional provider-native request overrides for AWS parameters not yet promoted to first-class fields. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Organization UUID echoed from input. |
connection_uuid | uuid | No | — | AWS CloudConnection UUID echoed from input. |
region | string | No | — | AWS API endpoint region used. |
service | string | No | — | AWS boto3 service/client name. |
operation | string | No | — | AWS API operation invoked. |
request_id | string | No | — | AWS request ID when available. |
response | json | No | — | Sanitized provider response object. |
items | list | No | — | Primary response item list when the API returns a collection. |
result_count | integer | No | — | Count of primary response items. |
next_page_token | string | No | — | Pagination token for the next page. |
failure_reason | string | No | — | Human-readable failure reason. |
failed_step | string | No | — | Failed logical step. |
failed_layer | json | No | — | Failed DAG layer if engine supplies one. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
failed_at | string | No | — | ISO failure timestamp. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "aws.lambda.update_function_configuration",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value",
"function_name": "value"
}
}