Skip to content
v2.275.0

EventInvokeConfigProperty Struct ​

Example ​

ts
// 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 ​

destinationConfigoptionalIResolvable | CfnFunction.EventInvokeDestinationConfigPropertydestination_configoptionaltyping.Union[IResolvable, EventInvokeDestinationConfigProperty]destinationConfigoptionalIResolvableDestinationConfigoptionalIResolvableDestinationConfigoptionalinterface{}#
maximumEventAgeInSecondsoptionalnumbermaximum_event_age_in_secondsoptionalint | floatmaximumEventAgeInSecondsoptionalNumberMaximumEventAgeInSecondsoptionaldoubleMaximumEventAgeInSecondsoptional*float64#
maximumRetryAttemptsoptionalnumbermaximum_retry_attemptsoptionalint | floatmaximumRetryAttemptsoptionalNumberMaximumRetryAttemptsoptionaldoubleMaximumRetryAttemptsoptional*float64#