interface ApiEventProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnStateMachine.ApiEventProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnStateMachine_ApiEventProperty |
![]() | software.amazon.awscdk.services.sam.CfnStateMachine.ApiEventProperty |
![]() | aws_cdk.aws_sam.CfnStateMachine.ApiEventProperty |
![]() | aws-cdk-lib » aws_sam » CfnStateMachine » ApiEventProperty |
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 apiEventProperty: sam.CfnStateMachine.ApiEventProperty = {
method: 'method',
path: 'path',
// the properties below are optional
restApiId: 'restApiId',
};
Properties
Name | Type | Description |
---|---|---|
method | string | |
path | string | |
rest | string |
method
Type:
string
path
Type:
string
restApiId?
Type:
string
(optional)