Interface CfnEventInvokeConfigProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEventInvokeConfigProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.578Z")
@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();
-
Nested Class Summary
Modifier 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-_]+)
-
getQualifier
The identifier of a version or alias.- Version - A version number.
- Alias - An alias name.
- Latest - To specify the unpublished version, use
$LATEST
.
-
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.
- Topic - The ARN of a standard SNS topic.
- Event Bus - The ARN of an Amazon EventBridge event bus.
-
getMaximumEventAgeInSeconds
The maximum age of a request that Lambda sends to a function for processing. -
getMaximumRetryAttempts
The maximum number of times to retry when the function returns an error. -
builder
- Returns:
- a
CfnEventInvokeConfigProps.Builder
ofCfnEventInvokeConfigProps
-