# ApiEventProperty

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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

- `method`: string (required)

- `path`: string (required)

- `restApiId`: string
