Skip to content

FunctionCodeLocation

Source code in docs_src/capo_lambda/types/function_code_location.py
class FunctionCodeLocation(TypedDict, closed=True):
    repository_type: NotRequired["capo_lambda.types.string.String"]
    """<p>The service that's hosting the file.</p>"""
    location: NotRequired[
        "capo_lambda.types.sensitive_string_on_server_only.SensitiveStringOnServerOnly"
    ]
    """<p>A presigned URL that you can use to download the deployment package.</p>"""
    image_uri: NotRequired["capo_lambda.types.string.String"]
    """<p>URI of a container image in the Amazon ECR registry.</p>"""
    resolved_image_uri: NotRequired["capo_lambda.types.string.String"]
    """<p>The resolved URI for the image.</p>"""
    resolved_s3_object: NotRequired[
        "capo_lambda.types.resolved_s3_object.ResolvedS3Object"
    ]
    """<p>The resolved Amazon S3 object that contains the deployment package.</p>"""
    source_kms_key_arn: NotRequired["capo_lambda.types.kms_key_arn.KMSKeyArn"]
    """<p>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 <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-owned-cmk">Amazon Web Services owned key</a>.</p>"""
    error: NotRequired[
        "capo_lambda.types.function_code_location_error.FunctionCodeLocationError"
    ]
    """<p>An object that contains details about an error related to function deployment package retrieval.</p>"""

error instance-attribute

error: NotRequired[FunctionCodeLocationError]

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

image_uri instance-attribute

image_uri: NotRequired[String]

URI of a container image in the Amazon ECR registry.

location instance-attribute

location: NotRequired[SensitiveStringOnServerOnly]

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

repository_type instance-attribute

repository_type: NotRequired[String]

The service that's hosting the file.

resolved_image_uri instance-attribute

resolved_image_uri: NotRequired[String]

The resolved URI for the image.

resolved_s3_object instance-attribute

resolved_s3_object: NotRequired[ResolvedS3Object]

The resolved Amazon S3 object that contains the deployment package.

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.