EventSourceMappingEventSourceMapping is the Schema for the EventSourceMappings API. Manages an AWS Lambda Event Source Mapping.
TypeMR
Providerprovider-aws-lambda
Grouplambda.aws.m.upbound.io
Scopenamespaced
Versionv1beta1

1apiVersion: lambda.aws.m.upbound.io/v1beta1

2kind: EventSourceMapping

kind
string
metadata
object
spec
object

EventSourceMappingSpec defines the desired state of EventSourceMapping

forProvider
required
object

(No description available)

object

Additional configuration block for Amazon Managed Kafka sources. Incompatible with self_managed_event_source and self_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
batchSize
number
object

Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.

onFailure
object

Destination configuration for failed invocations. See below.

object

Reference to a Queue in sqs to populate destinationArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Queue in sqs to populate destinationArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration settings for a DocumentDB event source. See below.

enabled
boolean
object

Criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. See below.

filter
array

Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.

pattern
string
object

Reference to a Function in lambda to populate functionName.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Function in lambda to populate functionName.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures.

kmsKeyArn
string
object

Reference to a Key in kms to populate kmsKeyArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.

metrics
array

List containing the metrics to be produced by the event source mapping. Valid values: EventCount.

object

Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.

queues
array

Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.

region
required
string
object

Scaling configuration of the event source. Only available for SQS queues. See below.

object

For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include source_access_configuration. See below.

endpoints
object
object

Additional configuration block for Self Managed Kafka sources. Incompatible with event_source_arn and amazon_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
array

For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include self_managed_event_source. See below.

type
string
uri
string
tags
object
topics
array

Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.

object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

object

Additional configuration block for Amazon Managed Kafka sources. Incompatible with self_managed_event_source and self_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
batchSize
number
object

Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.

onFailure
object

Destination configuration for failed invocations. See below.

object

Reference to a Queue in sqs to populate destinationArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Queue in sqs to populate destinationArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

Configuration settings for a DocumentDB event source. See below.

enabled
boolean
object

Criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. See below.

filter
array

Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.

pattern
string
object

Reference to a Function in lambda to populate functionName.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Function in lambda to populate functionName.

namespace
string
policy
object

Policies for selection.

resolve
string
array

List of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures.

kmsKeyArn
string
object

Reference to a Key in kms to populate kmsKeyArn.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Key in kms to populate kmsKeyArn.

namespace
string
policy
object

Policies for selection.

resolve
string
object

CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.

metrics
array

List containing the metrics to be produced by the event source mapping. Valid values: EventCount.

object

Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.

queues
array

Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.

object

Scaling configuration of the event source. Only available for SQS queues. See below.

object

For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include source_access_configuration. See below.

endpoints
object
object

Additional configuration block for Self Managed Kafka sources. Incompatible with event_source_arn and amazon_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
array

For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include self_managed_event_source. See below.

type
string
uri
string
tags
object
topics
array

Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.

array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

EventSourceMappingStatus defines the observed state of EventSourceMapping.

object

(No description available)

object

Additional configuration block for Amazon Managed Kafka sources. Incompatible with self_managed_event_source and self_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
arn
string
batchSize
number
object

Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.

onFailure
object

Destination configuration for failed invocations. See below.

object

Configuration settings for a DocumentDB event source. See below.

enabled
boolean
object

Criteria to use for event filtering Kinesis stream, DynamoDB stream, SQS queue event sources. See below.

filter
array

Set of up to 5 filter. If an event satisfies at least one, Lambda sends the event to the function or adds it to the next batch. See below.

pattern
string
array

List of current response type enums applied to the event source mapping for AWS Lambda checkpointing. Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: ReportBatchItemFailures.

id
string
kmsKeyArn
string
object

CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.

metrics
array

List containing the metrics to be produced by the event source mapping. Valid values: EventCount.

object

Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.

queues
array

Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.

region
string
object

Scaling configuration of the event source. Only available for SQS queues. See below.

object

For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include source_access_configuration. See below.

endpoints
object
object

Additional configuration block for Self Managed Kafka sources. Incompatible with event_source_arn and amazon_managed_kafka_event_source_config. See below.

object

Block for a Kafka schema registry setting. See below.

array

Configuration block for authentication Lambda uses to access the schema registry.

type
string
uri
string
array

Repeatable block that defines schema validation settings. These specify the message attributes that Lambda should validate and filter using the schema registry.

attribute
string
array

For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include self_managed_event_source. See below.

type
string
uri
string
state
string
tags
object
tagsAll
object
topics
array

Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.

uuid
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string