public static final class CfnEventInvokeConfigProps.Builder
extends java.lang.Object
CfnEventInvokeConfigProps
Constructor and Description |
---|
Builder() |
public CfnEventInvokeConfigProps.Builder functionName(java.lang.String functionName)
CfnEventInvokeConfigProps.getFunctionName()
functionName
- The name of the Lambda function. This parameter is required.
Minimum : 1
Maximum : 64
Pattern : ([a-zA-Z0-9-_]+)
this
public CfnEventInvokeConfigProps.Builder qualifier(java.lang.String qualifier)
CfnEventInvokeConfigProps.getQualifier()
qualifier
- The identifier of a version or alias. This parameter is required.
$LATEST
.this
public CfnEventInvokeConfigProps.Builder destinationConfig(IResolvable destinationConfig)
CfnEventInvokeConfigProps.getDestinationConfig()
destinationConfig
- 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.
this
public CfnEventInvokeConfigProps.Builder destinationConfig(CfnEventInvokeConfig.DestinationConfigProperty destinationConfig)
CfnEventInvokeConfigProps.getDestinationConfig()
destinationConfig
- 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.
this
public CfnEventInvokeConfigProps.Builder maximumEventAgeInSeconds(java.lang.Number maximumEventAgeInSeconds)
CfnEventInvokeConfigProps.getMaximumEventAgeInSeconds()
maximumEventAgeInSeconds
- The maximum age of a request that Lambda sends to a function for processing.this
public CfnEventInvokeConfigProps.Builder maximumRetryAttempts(java.lang.Number maximumRetryAttempts)
CfnEventInvokeConfigProps.getMaximumRetryAttempts()
maximumRetryAttempts
- The maximum number of times to retry when the function returns an error.this
public CfnEventInvokeConfigProps build()
CfnEventInvokeConfigProps
java.lang.NullPointerException
- if any required attribute was not provided