Class CfnEventInvokeConfigMixinProps
Properties for CfnEventInvokeConfigPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lambda
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEventInvokeConfigMixinProps : ICfnEventInvokeConfigMixinProps
Syntax (vb)
Public Class CfnEventInvokeConfigMixinProps Implements ICfnEventInvokeConfigMixinProps
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.CfnPropertyMixins.AWS.Lambda;
var cfnEventInvokeConfigMixinProps = new CfnEventInvokeConfigMixinProps {
DestinationConfig = new DestinationConfigProperty {
OnFailure = new OnFailureProperty {
Destination = "destination"
},
OnSuccess = new OnSuccessProperty {
Destination = "destination"
}
},
FunctionName = "functionName",
MaximumEventAgeInSeconds = 123,
MaximumRetryAttempts = 123,
Qualifier = "qualifier"
};
Synopsis
Constructors
| CfnEventInvokeConfigMixinProps() | Properties for CfnEventInvokeConfigPropsMixin. |
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
CfnEventInvokeConfigMixinProps()
Properties for CfnEventInvokeConfigPropsMixin.
public CfnEventInvokeConfigMixinProps()
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.CfnPropertyMixins.AWS.Lambda;
var cfnEventInvokeConfigMixinProps = new CfnEventInvokeConfigMixinProps {
DestinationConfig = new DestinationConfigProperty {
OnFailure = new OnFailureProperty {
Destination = "destination"
},
OnSuccess = new OnSuccessProperty {
Destination = "destination"
}
},
FunctionName = "functionName",
MaximumEventAgeInSeconds = 123,
MaximumRetryAttempts = 123,
Qualifier = "qualifier"
};
Properties
DestinationConfig
A destination for events after they have been sent to a function for processing.
public object? DestinationConfig { get; set; }
Property Value
Remarks
Destinations - Function - The Amazon Resource Name (ARN) of a Lambda function.
S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.
Type union: either IResolvable or CfnEventInvokeConfigPropsMixin.IDestinationConfigProperty
FunctionName
The name of the Lambda function.
public object? FunctionName { get; set; }
Property Value
Remarks
MaximumEventAgeInSeconds
The maximum age of a request that Lambda sends to a function for processing.
public double? MaximumEventAgeInSeconds { get; set; }
Property Value
Remarks
MaximumRetryAttempts
The maximum number of times to retry when the function returns an error.
public double? MaximumRetryAttempts { get; set; }
Property Value
Remarks
Qualifier
The identifier of a version or alias.
public string? Qualifier { get; set; }