interface EventSourceProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnStateMachine.EventSourceProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnStateMachine_EventSourceProperty |
![]() | software.amazon.awscdk.services.sam.CfnStateMachine.EventSourceProperty |
![]() | aws_cdk.aws_sam.CfnStateMachine.EventSourceProperty |
![]() | 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
Name | Type | Description |
---|---|---|
properties | IResolvable | Api | Cloud | Event | Schedule | |
type | string |
properties
Type:
IResolvable
|
Api
|
Cloud
|
Event
|
Schedule
type
Type:
string