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();
 
  • Method Details

    • getFunctionName

      @Stability(Stable) @NotNull String getFunctionName()
      The name of the Lambda function.

      Minimum : 1

      Maximum : 64

      Pattern : ([a-zA-Z0-9-_]+)

    • getQualifier

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @Nullable default Object 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

      @Stability(Stable) @Nullable default Number getMaximumEventAgeInSeconds()
      The maximum age of a request that Lambda sends to a function for processing.
    • getMaximumRetryAttempts

      @Stability(Stable) @Nullable default Number getMaximumRetryAttempts()
      The maximum number of times to retry when the function returns an error.
    • builder

      @Stability(Stable) static CfnEventInvokeConfigProps.Builder builder()
      Returns:
      a CfnEventInvokeConfigProps.Builder of CfnEventInvokeConfigProps