AWS Native is in preview. AWS Classic is fully supported.
aws-native.lambda.EventInvokeConfig
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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 string
- The unique name of the resource.
- args EventInvokeConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args EventInvokeConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EventInvokeConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EventInvokeConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const eventInvokeConfigResource = new aws_native.lambda.EventInvokeConfig("eventInvokeConfigResource", {
functionName: "string",
qualifier: "string",
destinationConfig: {
onFailure: {
destination: "string",
},
onSuccess: {
destination: "string",
},
},
maximumEventAgeInSeconds: 0,
maximumRetryAttempts: 0,
});
Coming soon!
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
The EventInvokeConfig resource accepts the following input properties:
- Function
Name string - The name of the Lambda function.
- Qualifier string
- The identifier of a version or alias.
- Destination
Config Pulumi.Aws Native. Lambda. Inputs. Event Invoke Config Destination Config - Maximum
Event intAge In Seconds - The maximum age of a request that Lambda sends to a function for processing.
- Maximum
Retry intAttempts - The maximum number of times to retry when the function returns an error.
- Function
Name string - The name of the Lambda function.
- Qualifier string
- The identifier of a version or alias.
- Destination
Config EventInvoke Config Destination Config Args - Maximum
Event intAge In Seconds - The maximum age of a request that Lambda sends to a function for processing.
- Maximum
Retry intAttempts - The maximum number of times to retry when the function returns an error.
- function
Name String - The name of the Lambda function.
- qualifier String
- The identifier of a version or alias.
- destination
Config EventInvoke Config Destination Config - maximum
Event IntegerAge In Seconds - The maximum age of a request that Lambda sends to a function for processing.
- maximum
Retry IntegerAttempts - The maximum number of times to retry when the function returns an error.
- function
Name string - The name of the Lambda function.
- qualifier string
- The identifier of a version or alias.
- destination
Config EventInvoke Config Destination Config - maximum
Event numberAge In Seconds - The maximum age of a request that Lambda sends to a function for processing.
- maximum
Retry numberAttempts - The maximum number of times to retry when the function returns an error.
- function_
name str - The name of the Lambda function.
- qualifier str
- The identifier of a version or alias.
- destination_
config lambda_.Event Invoke Config Destination Config Args - maximum_
event_ intage_ in_ seconds - The maximum age of a request that Lambda sends to a function for processing.
- maximum_
retry_ intattempts - The maximum number of times to retry when the function returns an error.
- function
Name String - The name of the Lambda function.
- qualifier String
- The identifier of a version or alias.
- destination
Config Property Map - maximum
Event NumberAge In Seconds - The maximum age of a request that Lambda sends to a function for processing.
- maximum
Retry NumberAttempts - 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
EventInvokeConfigOnFailure, EventInvokeConfigOnFailureArgs
- 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.
EventInvokeConfigOnSuccess, EventInvokeConfigOnSuccessArgs
- 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.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.