1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. lambda
  5. EventInvokeConfig

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.lambda.EventInvokeConfig

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

The AWS::Lambda::EventInvokeConfig resource configures options for asynchronous invocation on a version or an alias.

Create EventInvokeConfig Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new EventInvokeConfig(name: string, args: EventInvokeConfigArgs, opts?: CustomResourceOptions);
@overload
def EventInvokeConfig(resource_name: str,
                      args: EventInvokeConfigArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def EventInvokeConfig(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      function_name: Optional[str] = None,
                      qualifier: Optional[str] = None,
                      destination_config: Optional[_lambda_.EventInvokeConfigDestinationConfigArgs] = None,
                      maximum_event_age_in_seconds: Optional[int] = None,
                      maximum_retry_attempts: Optional[int] = None)
func NewEventInvokeConfig(ctx *Context, name string, args EventInvokeConfigArgs, opts ...ResourceOption) (*EventInvokeConfig, error)
public EventInvokeConfig(string name, EventInvokeConfigArgs args, CustomResourceOptions? opts = null)
public EventInvokeConfig(String name, EventInvokeConfigArgs args)
public EventInvokeConfig(String name, EventInvokeConfigArgs args, CustomResourceOptions options)
type: aws-native:lambda:EventInvokeConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. EventInvokeConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. EventInvokeConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. EventInvokeConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. EventInvokeConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. EventInvokeConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

EventInvokeConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The EventInvokeConfig resource accepts the following input properties:

FunctionName This property is required. string
The name of the Lambda function.
Qualifier This property is required. string
The identifier of a version or alias.
DestinationConfig Pulumi.AwsNative.Lambda.Inputs.EventInvokeConfigDestinationConfig

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.

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

MaximumEventAgeInSeconds int
The maximum age of a request that Lambda sends to a function for processing.
MaximumRetryAttempts int
The maximum number of times to retry when the function returns an error.
FunctionName This property is required. string
The name of the Lambda function.
Qualifier This property is required. string
The identifier of a version or alias.
DestinationConfig EventInvokeConfigDestinationConfigArgs

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.

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

MaximumEventAgeInSeconds int
The maximum age of a request that Lambda sends to a function for processing.
MaximumRetryAttempts int
The maximum number of times to retry when the function returns an error.
functionName This property is required. String
The name of the Lambda function.
qualifier This property is required. String
The identifier of a version or alias.
destinationConfig EventInvokeConfigDestinationConfig

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.

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

maximumEventAgeInSeconds Integer
The maximum age of a request that Lambda sends to a function for processing.
maximumRetryAttempts Integer
The maximum number of times to retry when the function returns an error.
functionName This property is required. string
The name of the Lambda function.
qualifier This property is required. string
The identifier of a version or alias.
destinationConfig EventInvokeConfigDestinationConfig

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.

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

maximumEventAgeInSeconds number
The maximum age of a request that Lambda sends to a function for processing.
maximumRetryAttempts number
The maximum number of times to retry when the function returns an error.
function_name This property is required. str
The name of the Lambda function.
qualifier This property is required. str
The identifier of a version or alias.
destination_config lambda_.EventInvokeConfigDestinationConfigArgs

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.

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

maximum_event_age_in_seconds int
The maximum age of a request that Lambda sends to a function for processing.
maximum_retry_attempts int
The maximum number of times to retry when the function returns an error.
functionName This property is required. String
The name of the Lambda function.
qualifier This property is required. String
The identifier of a version or alias.
destinationConfig Property Map

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.

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

maximumEventAgeInSeconds Number
The maximum age of a request that Lambda sends to a function for processing.
maximumRetryAttempts Number
The maximum number of times to retry when the function returns an error.

Outputs

All input properties are implicitly available as output properties. Additionally, the EventInvokeConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

EventInvokeConfigDestinationConfig
, EventInvokeConfigDestinationConfigArgs

OnFailure Pulumi.AwsNative.Lambda.Inputs.EventInvokeConfigOnFailure
The destination configuration for failed invocations.
OnSuccess Pulumi.AwsNative.Lambda.Inputs.EventInvokeConfigOnSuccess
The destination configuration for successful invocations.
OnFailure EventInvokeConfigOnFailure
The destination configuration for failed invocations.
OnSuccess EventInvokeConfigOnSuccess
The destination configuration for successful invocations.
onFailure EventInvokeConfigOnFailure
The destination configuration for failed invocations.
onSuccess EventInvokeConfigOnSuccess
The destination configuration for successful invocations.
onFailure EventInvokeConfigOnFailure
The destination configuration for failed invocations.
onSuccess EventInvokeConfigOnSuccess
The destination configuration for successful invocations.
on_failure lambda_.EventInvokeConfigOnFailure
The destination configuration for failed invocations.
on_success lambda_.EventInvokeConfigOnSuccess
The destination configuration for successful invocations.
onFailure Property Map
The destination configuration for failed invocations.
onSuccess Property Map
The destination configuration for successful invocations.

EventInvokeConfigOnFailure
, EventInvokeConfigOnFailureArgs

Destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
Destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. String
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. str
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. String
The Amazon Resource Name (ARN) of the destination resource.

EventInvokeConfigOnSuccess
, EventInvokeConfigOnSuccessArgs

Destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
Destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. String
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. string
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. str
The Amazon Resource Name (ARN) of the destination resource.
destination This property is required. String
The Amazon Resource Name (ARN) of the destination resource.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi