aws-cdk-lib.aws_sam.CfnStateMachine.EventSourceProperty

interface EventSourceProperty

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

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 eventSourceProperty: sam.CfnStateMachine.EventSourceProperty = {
  properties: {
    method: 'method',
    path: 'path',

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

Properties

NameTypeDescription
propertiesIResolvable | ApiEventProperty | CloudWatchEventEventProperty | EventBridgeRuleEventProperty | ScheduleEventPropertyCfnStateMachine.EventSourceProperty.Properties.
typestringCfnStateMachine.EventSourceProperty.Type.

properties

Type: IResolvable | ApiEventProperty | CloudWatchEventEventProperty | EventBridgeRuleEventProperty | ScheduleEventProperty

CfnStateMachine.EventSourceProperty.Properties.


type

Type: string

CfnStateMachine.EventSourceProperty.Type.