Skip to content

FunctionEventInvokeConfig

Source code in docs_src/capo_lambda/types/function_event_invoke_config.py
class FunctionEventInvokeConfig(TypedDict, closed=True):
    last_modified: NotRequired["capo_lambda.types.date.Date"]
    """<p>The date and time that the configuration was last updated.</p>"""
    function_arn: NotRequired["capo_lambda.types.function_arn.FunctionArn"]
    """<p>The Amazon Resource Name (ARN) of the function.</p>"""
    maximum_retry_attempts: NotRequired[
        "capo_lambda.types.maximum_retry_attempts.MaximumRetryAttempts"
    ]
    """<p>The maximum number of times to retry when the function returns an error.</p>"""
    maximum_event_age_in_seconds: NotRequired[
        "capo_lambda.types.maximum_event_age_in_seconds.MaximumEventAgeInSeconds"
    ]
    """<p>The maximum age of a request that Lambda sends to a function for processing.</p>"""
    destination_config: NotRequired[
        "capo_lambda.types.destination_config.DestinationConfig"
    ]
    """<p>A destination for events after they have been sent to a function for processing.</p> <p class="title"> <b>Destinations</b> </p> <ul> <li> <p> <b>Function</b> - The Amazon Resource Name (ARN) of a Lambda function.</p> </li> <li> <p> <b>Queue</b> - The ARN of a standard SQS queue.</p> </li> <li> <p> <b>Bucket</b> - The ARN of an Amazon S3 bucket.</p> </li> <li> <p> <b>Topic</b> - The ARN of a standard SNS topic.</p> </li> <li> <p> <b>Event Bus</b> - The ARN of an Amazon EventBridge event bus.</p> </li> </ul> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>"""

destination_config instance-attribute

destination_config: NotRequired[DestinationConfig]

A destination for events after they have been sent to a function for processing.

Destinations

  • Function - The Amazon Resource Name (ARN) of a Lambda function.

  • Queue - The ARN of a standard SQS queue.

  • Bucket - The ARN of an Amazon S3 bucket.

  • Topic - The ARN of a standard SNS topic.

  • Event Bus - The ARN of an Amazon EventBridge event bus.

S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.

function_arn instance-attribute

function_arn: NotRequired[FunctionArn]

The Amazon Resource Name (ARN) of the function.

last_modified instance-attribute

last_modified: NotRequired[Date]

The date and time that the configuration was last updated.

maximum_event_age_in_seconds instance-attribute

maximum_event_age_in_seconds: NotRequired[MaximumEventAgeInSeconds]

The maximum age of a request that Lambda sends to a function for processing.

maximum_retry_attempts instance-attribute

maximum_retry_attempts: NotRequired[MaximumRetryAttempts]

The maximum number of times to retry when the function returns an error.