interface EventInvokeConfigProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnFunction.EventInvokeConfigProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_EventInvokeConfigProperty |
![]() | software.amazon.awscdk.services.sam.CfnFunction.EventInvokeConfigProperty |
![]() | aws_cdk.aws_sam.CfnFunction.EventInvokeConfigProperty |
![]() | aws-cdk-lib » aws_sam » CfnFunction » EventInvokeConfigProperty |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sam as sam } from 'aws-cdk-lib';
const eventInvokeConfigProperty: sam.CfnFunction.EventInvokeConfigProperty = {
destinationConfig: {
onFailure: {
destination: 'destination',
// the properties below are optional
type: 'type',
},
onSuccess: {
destination: 'destination',
// the properties below are optional
type: 'type',
},
},
maximumEventAgeInSeconds: 123,
maximumRetryAttempts: 123,
};
Properties
Name | Type | Description |
---|---|---|
destination | IResolvable | Event | |
maximum | number | |
maximum | number |
destinationConfig?
Type:
IResolvable
|
Event
(optional)
maximumEventAgeInSeconds?
Type:
number
(optional)
maximumRetryAttempts?
Type:
number
(optional)