awscc.lambda_eventsourcemapping

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - lambda:DeleteEventSourceMapping, lambda:GetEventSourceMapping

update

Parent base class for filters and actions.

definitions:
  DestinationConfig:
    additionalProperties: false
    description: (Streams) An Amazon SQS queue or Amazon SNS topic destination for
      discarded records.
    properties:
      OnFailure:
        additionalProperties: false
        description: A destination for events that failed processing.
        properties:
          Destination:
            description: The Amazon Resource Name (ARN) of the destination resource.
            maxLength: 1024
            minLength: 12
            pattern: arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)
            type: string
        type: object
    type: object
  Endpoints:
    additionalProperties: false
    description: The endpoints used by AWS Lambda to access a self-managed event source.
    properties:
      KafkaBootstrapServers:
        description: A list of Kafka server endpoints.
        items:
          description: The URL of a Kafka server.
          maxLength: 300
          minLength: 1
          pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]):[0-9]{1,5}
          type: string
        maxItems: 10
        minItems: 1
        type: array
        uniqueItems: true
    type: object
  Filter:
    additionalProperties: false
    description: The filter object that defines parameters for ESM filtering.
    properties:
      Pattern:
        description: The filter pattern that defines which events should be passed
          for invocations.
        maxLength: 4096
        minLength: 0
        pattern: .*
        type: string
    type: object
  OnFailure:
    additionalProperties: false
    description: A destination for events that failed processing.
    properties:
      Destination:
        description: The Amazon Resource Name (ARN) of the destination resource.
        maxLength: 1024
        minLength: 12
        pattern: arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)
        type: string
    type: object
  SelfManagedEventSource:
    additionalProperties: false
    description: The configuration used by AWS Lambda to access a self-managed event
      source.
    properties:
      Endpoints:
        additionalProperties: false
        description: The endpoints used by AWS Lambda to access a self-managed event
          source.
        properties:
          KafkaBootstrapServers:
            description: A list of Kafka server endpoints.
            items:
              description: The URL of a Kafka server.
              maxLength: 300
              minLength: 1
              pattern: ^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9]):[0-9]{1,5}
              type: string
            maxItems: 10
            minItems: 1
            type: array
            uniqueItems: true
        type: object
    type: object
  SourceAccessConfiguration:
    additionalProperties: false
    description: The configuration used by AWS Lambda to access event source
    properties:
      Type:
        description: The type of source access configuration.
        enum:
        - BASIC_AUTH
        - VPC_SUBNET
        - VPC_SECURITY_GROUP
        - SASL_SCRAM_512_AUTH
        - SASL_SCRAM_256_AUTH
        - VIRTUAL_HOST
        - CLIENT_CERTIFICATE_TLS_AUTH
        - SERVER_ROOT_CA_CERTIFICATE
        type: string
      URI:
        description: The URI for the source access configuration resource.
        maxLength: 200
        minLength: 1
        pattern: '[a-zA-Z0-9-\/*:_+=.@-]*'
        type: string
    type: object
properties:
  BatchSize:
    description: The maximum number of items to retrieve in a single batch.
    maximum: 10000
    minimum: 1
    type: integer
  BisectBatchOnFunctionError:
    description: (Streams) If the function returns an error, split the batch in two
      and retry.
    type: boolean
  DestinationConfig:
    additionalProperties: false
    description: (Streams) An Amazon SQS queue or Amazon SNS topic destination for
      discarded records.
    properties:
      OnFailure:
        additionalProperties: false
        description: A destination for events that failed processing.
        properties:
          Destination:
            description: The Amazon Resource Name (ARN) of the destination resource.
            maxLength: 1024
            minLength: 12
            pattern: arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)
            type: string
        type: object
    type: object
  Enabled:
    description: Disables the event source mapping to pause polling and invocation.
    type: boolean
  FilterCriteria:
    additionalProperties: false
    description: The filter criteria to control event filtering.
    properties:
      Filters:
        description: List of filters of this FilterCriteria
        items:
          additionalProperties: false
          description: The filter object that defines parameters for ESM filtering.
          properties:
            Pattern:
              description: The filter pattern that defines which events should be
                passed for invocations.
              maxLength: 4096
              minLength: 0
              pattern: .*
              type: string
          type: object
        maxItems: 20
        minItems: 1
        type: array
        uniqueItems: true
    type: object
  FunctionName:
    description: The name of the Lambda function.
    maxLength: 140
    minLength: 1
    pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}(-gov)?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-_]+)(:(\$LATEST|[a-zA-Z0-9-_]+))?
    type: string
  FunctionResponseTypes:
    description: (Streams) A list of response types supported by the function.
    items:
      enum:
      - ReportBatchItemFailures
      type: string
    maxLength: 1
    minLength: 0
    type: array
    uniqueItems: true
  MaximumBatchingWindowInSeconds:
    description: (Streams) The maximum amount of time to gather records before invoking
      the function, in seconds.
    maximum: 300
    minimum: 0
    type: integer
  MaximumRecordAgeInSeconds:
    description: (Streams) The maximum age of a record that Lambda sends to a function
      for processing.
    maximum: 604800
    minimum: -1
    type: integer
  MaximumRetryAttempts:
    description: (Streams) The maximum number of times to retry when the function
      returns an error.
    maximum: 10000
    minimum: -1
    type: integer
  ParallelizationFactor:
    description: (Streams) The number of batches to process from each shard concurrently.
    maximum: 10
    minimum: 1
    type: integer
  Queues:
    description: (ActiveMQ) A list of ActiveMQ queues.
    items:
      maxLength: 1000
      minLength: 1
      pattern: '[\s\S]*'
      type: string
    maxItems: 1
    minItems: 1
    type: array
    uniqueItems: true
  SourceAccessConfigurations:
    description: A list of SourceAccessConfiguration.
    items:
      additionalProperties: false
      description: The configuration used by AWS Lambda to access event source
      properties:
        Type:
          description: The type of source access configuration.
          enum:
          - BASIC_AUTH
          - VPC_SUBNET
          - VPC_SECURITY_GROUP
          - SASL_SCRAM_512_AUTH
          - SASL_SCRAM_256_AUTH
          - VIRTUAL_HOST
          - CLIENT_CERTIFICATE_TLS_AUTH
          - SERVER_ROOT_CA_CERTIFICATE
          type: string
        URI:
          description: The URI for the source access configuration resource.
          maxLength: 200
          minLength: 1
          pattern: '[a-zA-Z0-9-\/*:_+=.@-]*'
          type: string
      type: object
    maxItems: 22
    minItems: 1
    type: array
    uniqueItems: true
  StartingPositionTimestamp:
    description: With StartingPosition set to AT_TIMESTAMP, the time from which to
      start reading, in Unix time seconds.
    type: number
  Topics:
    description: (Kafka) A list of Kafka topics.
    items:
      maxLength: 249
      minLength: 1
      pattern: ^[^.]([a-zA-Z0-9\-_.]+)
      type: string
    maxItems: 1
    minItems: 1
    type: array
    uniqueItems: true
  TumblingWindowInSeconds:
    description: (Streams) Tumbling window (non-overlapping time window) duration
      to perform aggregations.
    maximum: 900
    minimum: 0
    type: integer
  type:
    enum:
    - update

Permissions - lambda:UpdateEventSourceMapping, lambda:GetEventSourceMapping