aws-cdk-lib.aws_sam.CfnFunction.EventInvokeConfigProperty

interface EventInvokeConfigProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnFunction.EventInvokeConfigProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnFunction_EventInvokeConfigProperty
Javasoftware.amazon.awscdk.services.sam.CfnFunction.EventInvokeConfigProperty
Pythonaws_cdk.aws_sam.CfnFunction.EventInvokeConfigProperty
TypeScript 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

NameTypeDescription
destinationConfig?IResolvable | EventInvokeDestinationConfigPropertyCfnFunction.EventInvokeConfigProperty.DestinationConfig.
maximumEventAgeInSeconds?numberCfnFunction.EventInvokeConfigProperty.MaximumEventAgeInSeconds.
maximumRetryAttempts?numberCfnFunction.EventInvokeConfigProperty.MaximumRetryAttempts.

destinationConfig?

Type: IResolvable | EventInvokeDestinationConfigProperty (optional)

CfnFunction.EventInvokeConfigProperty.DestinationConfig.


maximumEventAgeInSeconds?

Type: number (optional)

CfnFunction.EventInvokeConfigProperty.MaximumEventAgeInSeconds.


maximumRetryAttempts?

Type: number (optional)

CfnFunction.EventInvokeConfigProperty.MaximumRetryAttempts.