Skip to content
v2.275.0

EventInvokeDestinationConfigProperty 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 eventInvokeDestinationConfigProperty: sam.CfnFunction.EventInvokeDestinationConfigProperty = {
  onFailure: {
    destination: 'destination',

    // the properties below are optional
    type: 'type',
  },
  onSuccess: {
    destination: 'destination',

    // the properties below are optional
    type: 'type',
  },
};

Properties ​

onFailureIResolvable | CfnFunction.DestinationPropertyon_failuretyping.Union[IResolvable, DestinationProperty]onFailureIResolvableOnFailureIResolvableOnFailureinterface{}required#
onSuccessIResolvable | CfnFunction.DestinationPropertyon_successtyping.Union[IResolvable, DestinationProperty]onSuccessIResolvableOnSuccessIResolvableOnSuccessinterface{}required#