LambdaParametersProperty Struct Added in v2.275.0
Parameters for invoking an AWS Lambda function target.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from 'aws-cdk-lib';
const lambdaParametersProperty: eventsv2.CfnSubscriber.LambdaParametersProperty = {
durableExecutionName: 'durableExecutionName',
invocationTimeoutSeconds: 'invocationTimeoutSeconds',
invocationType: 'invocationType',
qualifier: 'qualifier',
tenantId: 'tenantId',
};
Properties
durableExecutionNameoptionalstringdurable_execution_nameoptionalstrdurableExecutionNameoptionalStringDurableExecutionNameoptionalstringDurableExecutionNameoptional*string#A unique name for a durable function execution.
Accepts a literal value or a JSONata expression.
invocationTimeoutSecondsoptionalstringinvocation_timeout_secondsoptionalstrinvocationTimeoutSecondsoptionalStringInvocationTimeoutSecondsoptionalstringInvocationTimeoutSecondsoptional*string#The timeout in seconds for each invocation of the target, written as a string.
Accepts a literal value or a JSONata expression.
invocationTypeoptionalstringinvocation_typeoptionalstrinvocationTypeoptionalStringInvocationTypeoptionalstringInvocationTypeoptional*string#How the function is invoked: EVENT (asynchronous) or REQUEST_RESPONSE (synchronous).
qualifieroptionalstringqualifieroptionalstrqualifieroptionalStringQualifieroptionalstringQualifieroptional*string#The version or alias of the Lambda function to invoke.
Accepts a literal value or a JSONata expression.
tenantIdoptionalstringtenant_idoptionalstrtenantIdoptionalStringTenantIdoptionalstringTenantIdoptional*string#The tenant identifier for multi-tenant Lambda functions.
Accepts a literal value or a JSONata expression.