Skip to content
v2.274.0

ApiEventProperty Struct ​

Example ​

ts
// 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 ​

methodstringmethodstrmethodStringMethodstringMethod*stringrequired#
pathstringpathstrpathStringPathstringPath*stringrequired#
restApiIdstringrest_api_idstrrestApiIdStringRestApiIdstringRestApiId*string#