// 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 destinationConfigProperty: sam.CfnFunction.DestinationConfigProperty = {
onFailure: {
destination: 'destination',
// the properties below are optionaltype: 'type',
},
};