interface ApiEventProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnStateMachine.ApiEventProperty |
Java | software.amazon.awscdk.services.sam.CfnStateMachine.ApiEventProperty |
Python | aws_cdk.aws_sam.CfnStateMachine.ApiEventProperty |
TypeScript | @aws-cdk/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 * as sam from '@aws-cdk/aws-sam';
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.

.NET
Java
Python
TypeScript