interface EventSourceProperty
| Language | Type name | 
|---|---|
|  .NET | Amazon.CDK.AWS.SAM.CfnStateMachine.EventSourceProperty | 
|  Java | software.amazon.awscdk.services.sam.CfnStateMachine.EventSourceProperty | 
|  Python | aws_cdk.aws_sam.CfnStateMachine.EventSourceProperty | 
|  TypeScript | @aws-cdk/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 * as sam from '@aws-cdk/aws-sam';
const eventSourceProperty: sam.CfnStateMachine.EventSourceProperty = {
  properties: {
    method: 'method',
    path: 'path',
    // the properties below are optional
    restApiId: 'restApiId',
  },
  type: 'type',
};
Properties
| Name | Type | Description | 
|---|---|---|
| properties | IResolvable | Api | Cloud | Event | Schedule | CfnStateMachine.EventSourceProperty.Properties. | 
| type | string | CfnStateMachine.EventSourceProperty.Type. | 
properties
Type:
IResolvable | Api | Cloud | Event | Schedule
CfnStateMachine.EventSourceProperty.Properties.
type
Type:
string
CfnStateMachine.EventSourceProperty.Type.
