aws-cdk-lib.aws_sam.CfnStateMachine.ApiEventProperty

interface ApiEventProperty

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnStateMachine.ApiEventProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnStateMachine_ApiEventProperty
Javasoftware.amazon.awscdk.services.sam.CfnStateMachine.ApiEventProperty
Pythonaws_cdk.aws_sam.CfnStateMachine.ApiEventProperty
TypeScript 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

NameTypeDescription
methodstringCfnStateMachine.ApiEventProperty.Method.
pathstringCfnStateMachine.ApiEventProperty.Path.
restApiId?stringCfnStateMachine.ApiEventProperty.RestApiId.

method

Type: string

CfnStateMachine.ApiEventProperty.Method.


path

Type: string

CfnStateMachine.ApiEventProperty.Path.


restApiId?

Type: string (optional)

CfnStateMachine.ApiEventProperty.RestApiId.