interface EventSourceProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnStateMachine.EventSourceProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnStateMachine_EventSourceProperty |
Java | software.amazon.awscdk.services.sam.CfnStateMachine.EventSourceProperty |
Python | aws_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
| Name | Type | Description |
|---|---|---|
| properties | IResolvable | Api | Cloud | Event | Schedule | |
| type | string |
properties
Type:
IResolvable | Api | Cloud | Event | Schedule
type
Type:
string

.NET
Go
Java
Python
TypeScript