Interface CfnEventInvokeConfigProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventInvokeConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-02-06T22:15:56.668Z")
@Stability(Stable)
public interface CfnEventInvokeConfigProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnEventInvokeConfig
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lambda.*; CfnEventInvokeConfigProps cfnEventInvokeConfigProps = CfnEventInvokeConfigProps.builder() .functionName("functionName") .qualifier("qualifier") // the properties below are optional .destinationConfig(DestinationConfigProperty.builder() .onFailure(OnFailureProperty.builder() .destination("destination") .build()) .onSuccess(OnSuccessProperty.builder() .destination("destination") .build()) .build()) .maximumEventAgeInSeconds(123) .maximumRetryAttempts(123) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnEventInvokeConfigProps
static final class
An implementation forCfnEventInvokeConfigProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
A destination for events after they have been sent to a function for processing.The name of the Lambda function.default Number
The maximum age of a request that Lambda sends to a function for processing.default Number
The maximum number of times to retry when the function returns an error.The identifier of a version or alias.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFunctionName
The name of the Lambda function.Minimum :
1
Maximum :
64
Pattern :
([a-zA-Z0-9-_]+)
- See Also:
-
getQualifier
The identifier of a version or alias.- Version - A version number.
- Alias - An alias name.
- Latest - To specify the unpublished version, use
$LATEST
.
- See Also:
-
getDestinationConfig
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.
- See Also:
-
getMaximumEventAgeInSeconds
The maximum age of a request that Lambda sends to a function for processing.- See Also:
-
getMaximumRetryAttempts
The maximum number of times to retry when the function returns an error.- See Also:
-
builder
- Returns:
- a
CfnEventInvokeConfigProps.Builder
ofCfnEventInvokeConfigProps
-