Skip to content

CreateWebFunctionRevisionRequest

Source code in docs_src/capo_lambda_web/types/create_web_function_revision_request.py
class CreateWebFunctionRevisionRequest(TypedDict, closed=True):
    function_name: "capo_lambda_web.types.function_name.FunctionName"
    """<p>The web function.</p> <p>You can specify either of the following:</p> <ul> <li> <p>The function name, for example <code>my-function</code>.</p> </li> <li> <p>The function ARN.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.</p>"""
    description: NotRequired["capo_lambda_web.types.description.Description"]
    """<p>A description of the revision.</p>"""
    kms_key_arn: NotRequired["capo_lambda_web.types.kms_key_arn.KmsKeyArn"]
    """<p>The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.</p>"""
    build_config: "capo_lambda_web.types.build_config.BuildConfig"
    """<p>The build configuration for the revision, including code location and runtime settings.</p>"""
    service_config: "capo_lambda_web.types.service_config.ServiceConfig"
    """<p>The service configuration for the revision, including execution role, timeout, and concurrency settings.</p>"""

build_config instance-attribute

build_config: BuildConfig

The build configuration for the revision, including code location and runtime settings.

description instance-attribute

description: NotRequired[Description]

A description of the revision.

function_name instance-attribute

function_name: FunctionName

The web function.

You can specify either of the following:

  • The function name, for example my-function.

  • The function ARN.

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

kms_key_arn instance-attribute

kms_key_arn: NotRequired[KmsKeyArn]

The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key used to encrypt the revision's code and environment variables.

service_config instance-attribute

service_config: ServiceConfig

The service configuration for the revision, including execution role, timeout, and concurrency settings.