@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-10T17:05:56.395Z") @Stability(value=Stable) public interface CfnEventInvokeConfigProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnEventInvokeConfigProps.Builder
A builder for
CfnEventInvokeConfigProps |
static class |
CfnEventInvokeConfigProps.Jsii$Proxy
An implementation for
CfnEventInvokeConfigProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnEventInvokeConfigProps.Builder |
builder() |
default Object |
getDestinationConfig()
A destination for events after they have been sent to a function for processing.
|
String |
getFunctionName()
The name of the Lambda function.
|
default Number |
getMaximumEventAgeInSeconds()
The maximum age of a request that Lambda sends to a function for processing.
|
default Number |
getMaximumRetryAttempts()
The maximum number of times to retry when the function returns an error.
|
String |
getQualifier()
The identifier of a version or alias.
|
@Stability(value=Stable) @NotNull String getFunctionName()
Minimum : 1
Maximum : 64
Pattern : ([a-zA-Z0-9-_]+)
@Stability(value=Stable) @NotNull String getQualifier()
$LATEST .@Stability(value=Stable) @Nullable default Object getDestinationConfig()
Destinations - Function - The Amazon Resource Name (ARN) of a Lambda function.
@Stability(value=Stable) @Nullable default Number getMaximumEventAgeInSeconds()
@Stability(value=Stable) @Nullable default Number getMaximumRetryAttempts()
@Stability(value=Stable) static CfnEventInvokeConfigProps.Builder builder()
CfnEventInvokeConfigProps.Builder of CfnEventInvokeConfigPropsCopyright © 2023. All rights reserved.