Class CfnEventInvokeConfigProps
Properties for defining a CfnEventInvokeConfig
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Lambda
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEventInvokeConfigProps : Object, ICfnEventInvokeConfigProps
Syntax (vb)
Public Class CfnEventInvokeConfigProps
Inherits Object
Implements ICfnEventInvokeConfigProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lambda;
var cfnEventInvokeConfigProps = new CfnEventInvokeConfigProps {
FunctionName = "functionName",
Qualifier = "qualifier",
// the properties below are optional
DestinationConfig = new DestinationConfigProperty {
OnFailure = new OnFailureProperty {
Destination = "destination"
},
OnSuccess = new OnSuccessProperty {
Destination = "destination"
}
},
MaximumEventAgeInSeconds = 123,
MaximumRetryAttempts = 123
};
Synopsis
Constructors
CfnEventInvokeConfigProps() |
Properties
DestinationConfig | A destination for events after they have been sent to a function for processing. |
FunctionName | The name of the Lambda function. |
MaximumEventAgeInSeconds | The maximum age of a request that Lambda sends to a function for processing. |
MaximumRetryAttempts | The maximum number of times to retry when the function returns an error. |
Qualifier | The identifier of a version or alias. |
Constructors
CfnEventInvokeConfigProps()
public CfnEventInvokeConfigProps()
Properties
DestinationConfig
A destination for events after they have been sent to a function for processing.
public object DestinationConfig { get; set; }
Property Value
System.Object
Remarks
Destinations - Function - The Amazon Resource Name (ARN) of a Lambda function.
FunctionName
The name of the Lambda function.
public string FunctionName { get; set; }
Property Value
System.String
Remarks
Minimum : 1
Maximum : 64
Pattern : ([a-zA-Z0-9-_]+)
MaximumEventAgeInSeconds
The maximum age of a request that Lambda sends to a function for processing.
public Nullable<double> MaximumEventAgeInSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
MaximumRetryAttempts
The maximum number of times to retry when the function returns an error.
public Nullable<double> MaximumRetryAttempts { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Qualifier
The identifier of a version or alias.
public string Qualifier { get; set; }
Property Value
System.String