Class CfnEventInvokeConfigPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventInvokeConfigPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventInvokeConfigPropsMixin>
- Enclosing class:
CfnEventInvokeConfigPropsMixin
@Stability(Stable)
public static final class CfnEventInvokeConfigPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventInvokeConfigPropsMixin>
A fluent builder for
CfnEventInvokeConfigPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationConfig(CfnEventInvokeConfigPropsMixin.DestinationConfigProperty destinationConfig) A destination for events after they have been sent to a function for processing.destinationConfig(IResolvable destinationConfig) A destination for events after they have been sent to a function for processing.functionName(String functionName) The name of the Lambda function.functionName(IFunctionRef functionName) The name of the Lambda function.maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) The maximum age of a request that Lambda sends to a function for processing.maximumRetryAttempts(Number maximumRetryAttempts) The maximum number of times to retry when the function returns an error.The identifier of a version or alias.
-
Method Details
-
create
@Stability(Stable) public static CfnEventInvokeConfigPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEventInvokeConfigPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEventInvokeConfigPropsMixin.Builder.
-
destinationConfig
@Stability(Stable) public CfnEventInvokeConfigPropsMixin.Builder destinationConfig(IResolvable 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.
- 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.
- Parameters:
destinationConfig- A destination for events after they have been sent to a function for processing. This parameter is required.- Returns:
this- See Also:
-
destinationConfig
@Stability(Stable) public CfnEventInvokeConfigPropsMixin.Builder destinationConfig(CfnEventInvokeConfigPropsMixin.DestinationConfigProperty 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.
- 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.
- Parameters:
destinationConfig- A destination for events after they have been sent to a function for processing. This parameter is required.- Returns:
this- See Also:
-
functionName
The name of the Lambda function.Minimum :
1Maximum :
64Pattern :
([a-zA-Z0-9-_]+)- Parameters:
functionName- The name of the Lambda function. This parameter is required.- Returns:
this- See Also:
-
functionName
@Stability(Stable) public CfnEventInvokeConfigPropsMixin.Builder functionName(IFunctionRef functionName) The name of the Lambda function.Minimum :
1Maximum :
64Pattern :
([a-zA-Z0-9-_]+)- Parameters:
functionName- The name of the Lambda function. This parameter is required.- Returns:
this- See Also:
-
maximumEventAgeInSeconds
@Stability(Stable) public CfnEventInvokeConfigPropsMixin.Builder maximumEventAgeInSeconds(Number maximumEventAgeInSeconds) The maximum age of a request that Lambda sends to a function for processing.- Parameters:
maximumEventAgeInSeconds- The maximum age of a request that Lambda sends to a function for processing. This parameter is required.- Returns:
this- See Also:
-
maximumRetryAttempts
@Stability(Stable) public CfnEventInvokeConfigPropsMixin.Builder maximumRetryAttempts(Number maximumRetryAttempts) The maximum number of times to retry when the function returns an error.- Parameters:
maximumRetryAttempts- The maximum number of times to retry when the function returns an error. This parameter is required.- Returns:
this- See Also:
-
qualifier
The identifier of a version or alias.- Version - A version number.
- Alias - An alias name.
- Latest - To specify the unpublished version, use
$LATEST.
- Parameters:
qualifier- The identifier of a version or alias. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventInvokeConfigPropsMixin>- Returns:
- a newly built instance of
CfnEventInvokeConfigPropsMixin.
-