Skip to content

Lambda  >  Structures  >  FunctionEventInvokeConfig

FunctionEventInvokeConfig

Structure Class

FunctionEventInvokeConfig dataclass

Dataclass for FunctionEventInvokeConfig structure.

Attributes

destination_config class-attribute instance-attribute
destination_config: DestinationConfig | None = None

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.

Note

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

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

The Amazon Resource Name (ARN) of the function.

last_modified class-attribute instance-attribute
last_modified: datetime | None = None

The date and time that the configuration was last updated.

maximum_event_age_in_seconds class-attribute instance-attribute
maximum_event_age_in_seconds: int | None = None

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

maximum_retry_attempts class-attribute instance-attribute
maximum_retry_attempts: int | None = None

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