FunctionCode
¶
Used by
-
AsyncLambdaClient Operationscreate_function -
LambdaClient Operationscreate_function
Source code in docs_src/capo_lambda/types/function_code.py
image_uri
instance-attribute
¶
image_uri: NotRequired[String]
URI of a container image in the Amazon ECR registry.
s3_bucket
instance-attribute
¶
s3_bucket: NotRequired[S3Bucket]
An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.
s3_object_storage_mode
instance-attribute
¶
s3_object_storage_mode: NotRequired[S3ObjectStorageMode]
Specifies how the deployment package is stored. Valid values:
-
COPY(default) – Uploads a copy of your deployment package to Lambda. -
REFERENCE– Lambda references the deployment package from the specified Amazon S3 bucket.
s3_object_version
instance-attribute
¶
s3_object_version: NotRequired[S3ObjectVersion]
For versioned objects, the version of the deployment package object to use.
source_kms_key_arn
instance-attribute
¶
source_kms_key_arn: NotRequired[KMSKeyArn]
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.