{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-lambda/json-schema/aws-lambda-function-event-invoke-config-schema.json",
  "title": "FunctionEventInvokeConfig",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-lambda-event-invoke-config-api-openapi.yml#/components/schemas/FunctionEventInvokeConfig",
  "type": "object",
  "properties": {
    "LastModified": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time that the configuration was last updated."
    },
    "FunctionArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the function."
    },
    "MaximumRetryAttempts": {
      "type": "integer",
      "description": "The maximum number of times to retry when the function returns an error."
    },
    "MaximumEventAgeInSeconds": {
      "type": "integer",
      "description": "The maximum age of a request that Lambda sends to a function for processing."
    },
    "DestinationConfig": {
      "$ref": "#/$defs/DestinationConfig"
    }
  },
  "$defs": {
    "DestinationConfig": {
      "type": "object",
      "properties": {
        "OnSuccess": {
          "$ref": "#/$defs/OnSuccess"
        },
        "OnFailure": {
          "$ref": "#/$defs/OnFailure"
        }
      }
    },
    "OnFailure": {
      "type": "object",
      "properties": {
        "Destination": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the destination resource. To retain records of failed invocations from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon SQS queue, Amazon S3 bucket, or Kafka topic as the destination. Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations. To retain reco"
        }
      }
    },
    "OnSuccess": {
      "type": "object",
      "properties": {
        "Destination": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the destination resource. Amazon SNS destinations have a message size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop the payload when sending OnFailure event to the destination. For details on this behavior, refer to Retaining records of asynchronous invocations."
        }
      }
    }
  }
}