aws-cdk-lib.aws_sam.CfnFunction.EventInvokeDestinationConfigProperty

interface EventInvokeDestinationConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnFunction.EventInvokeDestinationConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_EventInvokeDestinationConfigProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.EventInvokeDestinationConfigProperty
Pythonaws_cdk.aws_sam.CfnFunction.EventInvokeDestinationConfigProperty
TypeScript aws-cdk-lib » aws_sam » CfnFunction » EventInvokeDestinationConfigProperty

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 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

NameTypeDescription
onFailureIResolvable | DestinationPropertyCfnFunction.EventInvokeDestinationConfigProperty.OnFailure.
onSuccessIResolvable | DestinationPropertyCfnFunction.EventInvokeDestinationConfigProperty.OnSuccess.

onFailure

Type: IResolvable | DestinationProperty

CfnFunction.EventInvokeDestinationConfigProperty.OnFailure.


onSuccess

Type: IResolvable | DestinationProperty

CfnFunction.EventInvokeDestinationConfigProperty.OnSuccess.