Table of Contents

Class StepFunctionsRestApi

Namespace
Amazon.CDK.AWS.APIGateway
Assembly
Amazon.CDK.AWS.APIGateway.dll

Defines an API Gateway REST API with a Synchrounous Express State Machine as a proxy integration.

public class StepFunctionsRestApi : RestApi, IRestApi, IResource, IConstruct, IConstruct, IDependable
Inheritance
StepFunctionsRestApi
Implements
IResource
IConstruct
IConstruct
IDependable
Inherited Members

Examples

var stateMachineDefinition = new Pass(this, "PassState");

            var stateMachine = new StateMachine(this, "StateMachine", new StateMachineProps {
                Definition = stateMachineDefinition,
                StateMachineType = StateMachineType.EXPRESS
            });

            new StepFunctionsRestApi(this, "StepFunctionsRestApi", new StepFunctionsRestApiProps {
                Deploy = true,
                StateMachine = stateMachine
            });

Remarks

ExampleMetadata: infused

Constructors

StepFunctionsRestApi(Construct, string, IStepFunctionsRestApiProps)

public StepFunctionsRestApi(Construct scope, string id, IStepFunctionsRestApiProps props)

Parameters

scope Construct
id string
props IStepFunctionsRestApiProps