aws-cdk-lib.aws_sam.CfnStateMachine.ApiEventProperty
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 | CfnStateMachine.ApiEventProperty.Method . |
path | string | CfnStateMachine.ApiEventProperty.Path . |
rest | string | CfnStateMachine.ApiEventProperty.RestApiId . |
method
Type:
string
CfnStateMachine.ApiEventProperty.Method
.
path
Type:
string
CfnStateMachine.ApiEventProperty.Path
.
restApiId?
Type:
string
(optional)
CfnStateMachine.ApiEventProperty.RestApiId
.