Skip to content

Update function configuration

async_boto.validation.lambda_.update_function_configuration

UpdateFunctionConfigurationRequest

Bases: BaseModel

Request model for updating the configuration of a Lambda function.

PARAMETER DESCRIPTION
FunctionName

The name or ARN of the Lambda function. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.

TYPE: str

DeadLetterConfig

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events when they fail processing.

TYPE: Optional[DeadLetterConfig]

Description

A description of the function. Minimum length of 0. Maximum length of 256.

TYPE: Optional[str]

Environment

Environment variables that are accessible from function code during execution.

TYPE: Optional[Environment]

EphemeralStorage

The size of the function's /tmp directory in MB.

TYPE: Optional[EphemeralStorage]

FileSystemConfigs

Connection settings for an Amazon EFS file system.

TYPE: Optional[List[FileSystemConfig]]

Handler

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.

TYPE: Optional[str]

ImageConfig

Container image configuration values that override the values in the container image Docker file.

TYPE: Optional[ImageConfig]

KMSKeyArn

The ARN of the AWS Key Management Service (AWS KMS) customer managed key that's used to encrypt the function's environment variables and other resources.

TYPE: Optional[str]

Layers

A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.

TYPE: Optional[List[str]]

LoggingConfig

The function's Amazon CloudWatch Logs configuration settings.

TYPE: Optional[LoggingConfig]

MemorySize

The amount of memory available to the function at runtime. Valid range: Minimum value of 128. Maximum value of 10240.

TYPE: Optional[int]

RevisionId

Update the function only if the revision ID matches the ID that's specified.

TYPE: Optional[str]

Role

The Amazon Resource Name (ARN) of the function's execution role.

TYPE: Optional[str]

Runtime

The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

TYPE: Optional[str]

SnapStart

The function's SnapStart setting.

TYPE: Optional[SnapStart]

Timeout

The amount of time (in seconds) that Lambda allows a function to run before stopping it. Valid range: Minimum value of 1. Maximum value of 900.

TYPE: Optional[int]

TracingConfig

Set Mode to Active to sample and trace a subset of incoming requests with X-Ray.

TYPE: Optional[TracingConfig]

VpcConfig

For network connectivity to AWS resources in a VPC, specify a list of security groups and subnets in the VPC.

TYPE: Optional[VpcConfig]

FunctionName instance-attribute

FunctionName

DeadLetterConfig instance-attribute

DeadLetterConfig

Description instance-attribute

Description

Environment instance-attribute

Environment

EphemeralStorage instance-attribute

EphemeralStorage

FileSystemConfigs instance-attribute

FileSystemConfigs

Handler instance-attribute

Handler

ImageConfig instance-attribute

ImageConfig

KMSKeyArn instance-attribute

KMSKeyArn

Layers instance-attribute

Layers

LoggingConfig instance-attribute

LoggingConfig

MemorySize instance-attribute

MemorySize

RevisionId instance-attribute

RevisionId

Role instance-attribute

Role

Runtime instance-attribute

Runtime

SnapStart instance-attribute

SnapStart

Timeout instance-attribute

Timeout

TracingConfig instance-attribute

TracingConfig

VpcConfig instance-attribute

VpcConfig

UpdateFunctionConfigurationResponse

Bases: BaseModel

Response model for updating the configuration of a Lambda function.

Architectures instance-attribute

Architectures

CodeSha256 instance-attribute

CodeSha256

CodeSize instance-attribute

CodeSize

DeadLetterConfig instance-attribute

DeadLetterConfig

Description instance-attribute

Description

Environment instance-attribute

Environment

EphemeralStorage instance-attribute

EphemeralStorage

FileSystemConfigs instance-attribute

FileSystemConfigs

FunctionArn instance-attribute

FunctionArn

FunctionName instance-attribute

FunctionName

Handler instance-attribute

Handler

ImageConfigResponse instance-attribute

ImageConfigResponse

KMSKeyArn instance-attribute

KMSKeyArn

LastModified instance-attribute

LastModified

LastUpdateStatus instance-attribute

LastUpdateStatus

LastUpdateStatusReason instance-attribute

LastUpdateStatusReason

LastUpdateStatusReasonCode instance-attribute

LastUpdateStatusReasonCode

Layers instance-attribute

Layers

LoggingConfig instance-attribute

LoggingConfig

MasterArn instance-attribute

MasterArn

MemorySize instance-attribute

MemorySize

PackageType instance-attribute

PackageType

RevisionId instance-attribute

RevisionId

Role instance-attribute

Role

Runtime instance-attribute

Runtime

RuntimeVersionConfig instance-attribute

RuntimeVersionConfig

SigningJobArn instance-attribute

SigningJobArn

SigningProfileVersionArn instance-attribute

SigningProfileVersionArn

SnapStart instance-attribute

SnapStart

State instance-attribute

State

StateReason instance-attribute

StateReason

StateReasonCode instance-attribute

StateReasonCode

Timeout instance-attribute

Timeout

TracingConfig instance-attribute

TracingConfig

Version instance-attribute

Version

VpcConfig instance-attribute

VpcConfig