aws-native.lambda.getEventSourceMapping
Resource Type definition for AWS::Lambda::EventSourceMapping
Using getEventSourceMapping
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEventSourceMapping(args: GetEventSourceMappingArgs, opts?: InvokeOptions): Promise<GetEventSourceMappingResult>
function getEventSourceMappingOutput(args: GetEventSourceMappingOutputArgs, opts?: InvokeOptions): Output<GetEventSourceMappingResult>
def get_event_source_mapping(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventSourceMappingResult
def get_event_source_mapping_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventSourceMappingResult]
func LookupEventSourceMapping(ctx *Context, args *LookupEventSourceMappingArgs, opts ...InvokeOption) (*LookupEventSourceMappingResult, error)
func LookupEventSourceMappingOutput(ctx *Context, args *LookupEventSourceMappingOutputArgs, opts ...InvokeOption) LookupEventSourceMappingResultOutput
> Note: This function is named LookupEventSourceMapping
in the Go SDK.
public static class GetEventSourceMapping
{
public static Task<GetEventSourceMappingResult> InvokeAsync(GetEventSourceMappingArgs args, InvokeOptions? opts = null)
public static Output<GetEventSourceMappingResult> Invoke(GetEventSourceMappingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventSourceMappingResult> getEventSourceMapping(GetEventSourceMappingArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:lambda:getEventSourceMapping
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
Event Source Mapping Identifier UUID.
- Id string
Event Source Mapping Identifier UUID.
- id String
Event Source Mapping Identifier UUID.
- id string
Event Source Mapping Identifier UUID.
- id str
Event Source Mapping Identifier UUID.
- id String
Event Source Mapping Identifier UUID.
getEventSourceMapping Result
The following output properties are available:
- Batch
Size int The maximum number of items to retrieve in a single batch.
- Bisect
Batch boolOn Function Error (Streams) If the function returns an error, split the batch in two and retry.
- Destination
Config Pulumi.Aws Native. Lambda. Outputs. Event Source Mapping Destination Config (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- Document
DBEvent Pulumi.Source Config Aws Native. Lambda. Outputs. Event Source Mapping Document DBEvent Source Config Document db event source config.
- Enabled bool
Disables the event source mapping to pause polling and invocation.
- Filter
Criteria Pulumi.Aws Native. Lambda. Outputs. Event Source Mapping Filter Criteria The filter criteria to control event filtering.
- Function
Name string The name of the Lambda function.
- Function
Response List<Pulumi.Types Aws Native. Lambda. Event Source Mapping Function Response Types Item> (Streams) A list of response types supported by the function.
- Id string
Event Source Mapping Identifier UUID.
- Maximum
Batching intWindow In Seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- Maximum
Record intAge In Seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- Maximum
Retry intAttempts (Streams) The maximum number of times to retry when the function returns an error.
- Parallelization
Factor int (Streams) The number of batches to process from each shard concurrently.
- Queues List<string>
(ActiveMQ) A list of ActiveMQ queues.
- Scaling
Config Pulumi.Aws Native. Lambda. Outputs. Event Source Mapping Scaling Config The scaling configuration for the event source.
- Source
Access List<Pulumi.Configurations Aws Native. Lambda. Outputs. Event Source Mapping Source Access Configuration> A list of SourceAccessConfiguration.
- Topics List<string>
(Kafka) A list of Kafka topics.
- Tumbling
Window intIn Seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
- Batch
Size int The maximum number of items to retrieve in a single batch.
- Bisect
Batch boolOn Function Error (Streams) If the function returns an error, split the batch in two and retry.
- Destination
Config EventSource Mapping Destination Config (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- Document
DBEvent EventSource Config Source Mapping Document DBEvent Source Config Document db event source config.
- Enabled bool
Disables the event source mapping to pause polling and invocation.
- Filter
Criteria EventSource Mapping Filter Criteria The filter criteria to control event filtering.
- Function
Name string The name of the Lambda function.
- Function
Response []EventTypes Source Mapping Function Response Types Item (Streams) A list of response types supported by the function.
- Id string
Event Source Mapping Identifier UUID.
- Maximum
Batching intWindow In Seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- Maximum
Record intAge In Seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- Maximum
Retry intAttempts (Streams) The maximum number of times to retry when the function returns an error.
- Parallelization
Factor int (Streams) The number of batches to process from each shard concurrently.
- Queues []string
(ActiveMQ) A list of ActiveMQ queues.
- Scaling
Config EventSource Mapping Scaling Config The scaling configuration for the event source.
- Source
Access []EventConfigurations Source Mapping Source Access Configuration A list of SourceAccessConfiguration.
- Topics []string
(Kafka) A list of Kafka topics.
- Tumbling
Window intIn Seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
- batch
Size Integer The maximum number of items to retrieve in a single batch.
- bisect
Batch BooleanOn Function Error (Streams) If the function returns an error, split the batch in two and retry.
- destination
Config EventSource Mapping Destination Config (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- document
DBEvent EventSource Config Source Mapping Document DBEvent Source Config Document db event source config.
- enabled Boolean
Disables the event source mapping to pause polling and invocation.
- filter
Criteria EventSource Mapping Filter Criteria The filter criteria to control event filtering.
- function
Name String The name of the Lambda function.
- function
Response List<EventTypes Source Mapping Function Response Types Item> (Streams) A list of response types supported by the function.
- id String
Event Source Mapping Identifier UUID.
- maximum
Batching IntegerWindow In Seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- maximum
Record IntegerAge In Seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- maximum
Retry IntegerAttempts (Streams) The maximum number of times to retry when the function returns an error.
- parallelization
Factor Integer (Streams) The number of batches to process from each shard concurrently.
- queues List<String>
(ActiveMQ) A list of ActiveMQ queues.
- scaling
Config EventSource Mapping Scaling Config The scaling configuration for the event source.
- source
Access List<EventConfigurations Source Mapping Source Access Configuration> A list of SourceAccessConfiguration.
- topics List<String>
(Kafka) A list of Kafka topics.
- tumbling
Window IntegerIn Seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
- batch
Size number The maximum number of items to retrieve in a single batch.
- bisect
Batch booleanOn Function Error (Streams) If the function returns an error, split the batch in two and retry.
- destination
Config EventSource Mapping Destination Config (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- document
DBEvent EventSource Config Source Mapping Document DBEvent Source Config Document db event source config.
- enabled boolean
Disables the event source mapping to pause polling and invocation.
- filter
Criteria EventSource Mapping Filter Criteria The filter criteria to control event filtering.
- function
Name string The name of the Lambda function.
- function
Response EventTypes Source Mapping Function Response Types Item[] (Streams) A list of response types supported by the function.
- id string
Event Source Mapping Identifier UUID.
- maximum
Batching numberWindow In Seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- maximum
Record numberAge In Seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- maximum
Retry numberAttempts (Streams) The maximum number of times to retry when the function returns an error.
- parallelization
Factor number (Streams) The number of batches to process from each shard concurrently.
- queues string[]
(ActiveMQ) A list of ActiveMQ queues.
- scaling
Config EventSource Mapping Scaling Config The scaling configuration for the event source.
- source
Access EventConfigurations Source Mapping Source Access Configuration[] A list of SourceAccessConfiguration.
- topics string[]
(Kafka) A list of Kafka topics.
- tumbling
Window numberIn Seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
- batch_
size int The maximum number of items to retrieve in a single batch.
- bisect_
batch_ boolon_ function_ error (Streams) If the function returns an error, split the batch in two and retry.
- destination_
config EventSource Mapping Destination Config (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- document_
db_ Eventevent_ source_ config Source Mapping Document DBEvent Source Config Document db event source config.
- enabled bool
Disables the event source mapping to pause polling and invocation.
- filter_
criteria EventSource Mapping Filter Criteria The filter criteria to control event filtering.
- function_
name str The name of the Lambda function.
- function_
response_ Eventtypes Source Mapping Function Response Types Item] (Streams) A list of response types supported by the function.
- id str
Event Source Mapping Identifier UUID.
- maximum_
batching_ intwindow_ in_ seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- maximum_
record_ intage_ in_ seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- maximum_
retry_ intattempts (Streams) The maximum number of times to retry when the function returns an error.
- parallelization_
factor int (Streams) The number of batches to process from each shard concurrently.
- queues Sequence[str]
(ActiveMQ) A list of ActiveMQ queues.
- scaling_
config EventSource Mapping Scaling Config The scaling configuration for the event source.
- source_
access_ Eventconfigurations Source Mapping Source Access Configuration] A list of SourceAccessConfiguration.
- topics Sequence[str]
(Kafka) A list of Kafka topics.
- tumbling_
window_ intin_ seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
- batch
Size Number The maximum number of items to retrieve in a single batch.
- bisect
Batch BooleanOn Function Error (Streams) If the function returns an error, split the batch in two and retry.
- destination
Config Property Map (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
- document
DBEvent Property MapSource Config Document db event source config.
- enabled Boolean
Disables the event source mapping to pause polling and invocation.
- filter
Criteria Property Map The filter criteria to control event filtering.
- function
Name String The name of the Lambda function.
- function
Response List<"ReportTypes Batch Item Failures"> (Streams) A list of response types supported by the function.
- id String
Event Source Mapping Identifier UUID.
- maximum
Batching NumberWindow In Seconds (Streams) The maximum amount of time to gather records before invoking the function, in seconds.
- maximum
Record NumberAge In Seconds (Streams) The maximum age of a record that Lambda sends to a function for processing.
- maximum
Retry NumberAttempts (Streams) The maximum number of times to retry when the function returns an error.
- parallelization
Factor Number (Streams) The number of batches to process from each shard concurrently.
- queues List<String>
(ActiveMQ) A list of ActiveMQ queues.
- scaling
Config Property Map The scaling configuration for the event source.
- source
Access List<Property Map>Configurations A list of SourceAccessConfiguration.
- topics List<String>
(Kafka) A list of Kafka topics.
- tumbling
Window NumberIn Seconds (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
Supporting Types
EventSourceMappingDestinationConfig
- On
Failure Pulumi.Aws Native. Lambda. Inputs. Event Source Mapping On Failure The destination configuration for failed invocations.
- On
Failure EventSource Mapping On Failure The destination configuration for failed invocations.
- on
Failure EventSource Mapping On Failure The destination configuration for failed invocations.
- on
Failure EventSource Mapping On Failure The destination configuration for failed invocations.
- on_
failure EventSource Mapping On Failure The destination configuration for failed invocations.
- on
Failure Property Map The destination configuration for failed invocations.
EventSourceMappingDocumentDBEventSourceConfig
- Collection
Name string The collection name to connect to.
- Database
Name string The database name to connect to.
- Full
Document Pulumi.Aws Native. Lambda. Event Source Mapping Document DBEvent Source Config Full Document Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
- Collection
Name string The collection name to connect to.
- Database
Name string The database name to connect to.
- Full
Document EventSource Mapping Document DBEvent Source Config Full Document Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
- collection
Name String The collection name to connect to.
- database
Name String The database name to connect to.
- full
Document EventSource Mapping Document DBEvent Source Config Full Document Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
- collection
Name string The collection name to connect to.
- database
Name string The database name to connect to.
- full
Document EventSource Mapping Document DBEvent Source Config Full Document Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
- collection_
name str The collection name to connect to.
- database_
name str The database name to connect to.
- full_
document EventSource Mapping Document DBEvent Source Config Full Document Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
- collection
Name String The collection name to connect to.
- database
Name String The database name to connect to.
- full
Document "UpdateLookup" | "Default" Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.
EventSourceMappingDocumentDBEventSourceConfigFullDocument
EventSourceMappingFilter
- Pattern string
The filter pattern that defines which events should be passed for invocations.
- Pattern string
The filter pattern that defines which events should be passed for invocations.
- pattern String
The filter pattern that defines which events should be passed for invocations.
- pattern string
The filter pattern that defines which events should be passed for invocations.
- pattern str
The filter pattern that defines which events should be passed for invocations.
- pattern String
The filter pattern that defines which events should be passed for invocations.
EventSourceMappingFilterCriteria
- Filters
List<Pulumi.
Aws Native. Lambda. Inputs. Event Source Mapping Filter> List of filters of this FilterCriteria
- Filters
[]Event
Source Mapping Filter List of filters of this FilterCriteria
- filters
List<Event
Source Mapping Filter> List of filters of this FilterCriteria
- filters
Event
Source Mapping Filter[] List of filters of this FilterCriteria
- filters
Event
Source Mapping Filter] List of filters of this FilterCriteria
- filters List<Property Map>
List of filters of this FilterCriteria
EventSourceMappingFunctionResponseTypesItem
EventSourceMappingOnFailure
- Destination string
The Amazon Resource Name (ARN) of the destination resource.
- Destination string
The Amazon Resource Name (ARN) of the destination resource.
- destination String
The Amazon Resource Name (ARN) of the destination resource.
- destination string
The Amazon Resource Name (ARN) of the destination resource.
- destination str
The Amazon Resource Name (ARN) of the destination resource.
- destination String
The Amazon Resource Name (ARN) of the destination resource.
EventSourceMappingScalingConfig
- Maximum
Concurrency int The maximum number of concurrent functions that the event source can invoke.
- Maximum
Concurrency int The maximum number of concurrent functions that the event source can invoke.
- maximum
Concurrency Integer The maximum number of concurrent functions that the event source can invoke.
- maximum
Concurrency number The maximum number of concurrent functions that the event source can invoke.
- maximum_
concurrency int The maximum number of concurrent functions that the event source can invoke.
- maximum
Concurrency Number The maximum number of concurrent functions that the event source can invoke.
EventSourceMappingSourceAccessConfiguration
- Type
Pulumi.
Aws Native. Lambda. Event Source Mapping Source Access Configuration Type The type of source access configuration.
- URI string
The URI for the source access configuration resource.
- Type
Event
Source Mapping Source Access Configuration Type The type of source access configuration.
- URI string
The URI for the source access configuration resource.
- type
Event
Source Mapping Source Access Configuration Type The type of source access configuration.
- u
RI String The URI for the source access configuration resource.
- type
Event
Source Mapping Source Access Configuration Type The type of source access configuration.
- u
RI string The URI for the source access configuration resource.
- type
Event
Source Mapping Source Access Configuration Type The type of source access configuration.
- u_
ri str The URI for the source access configuration resource.
- type "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"
The type of source access configuration.
- u
RI String The URI for the source access configuration resource.
EventSourceMappingSourceAccessConfigurationType
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0