Skip to content

Lambda  >  Structures  >  FunctionCodeLocation

FunctionCodeLocation

Structure Class

FunctionCodeLocation dataclass

Details about a function's deployment package.

Attributes

error class-attribute instance-attribute
error: FunctionCodeLocationError | None = None

An object that contains details about an error related to function deployment package retrieval.

image_uri class-attribute instance-attribute
image_uri: str | None = None

URI of a container image in the Amazon ECR registry.

location class-attribute instance-attribute
location: str | None = None

A presigned URL that you can use to download the deployment package.

repository_type class-attribute instance-attribute
repository_type: str | None = None

The service that's hosting the file.

resolved_image_uri class-attribute instance-attribute
resolved_image_uri: str | None = None

The resolved URI for the image.

resolved_s3_object class-attribute instance-attribute
resolved_s3_object: ResolvedS3Object | None = None

The resolved Amazon S3 object that contains the deployment package.

source_kms_key_arn class-attribute instance-attribute
source_kms_key_arn: str | None = None

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.