Class StepFunctionsRestApi
Defines an API Gateway REST API with a Synchrounous Express State Machine as a proxy integration.
Inherited Members
Namespace: Amazon.CDK.AWS.APIGateway
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class StepFunctionsRestApi : RestApi, IRestApi, IResource
Syntax (vb)
Public Class StepFunctionsRestApi
Inherits RestApi
Implements IRestApi, IResource
Remarks
ExampleMetadata: infused
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
});
Synopsis
Constructors
StepFunctionsRestApi(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
StepFunctionsRestApi(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
StepFunctionsRestApi(Construct, String, IStepFunctionsRestApiProps) |
Constructors
StepFunctionsRestApi(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected StepFunctionsRestApi(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
StepFunctionsRestApi(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected StepFunctionsRestApi(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
StepFunctionsRestApi(Construct, String, IStepFunctionsRestApiProps)
public StepFunctionsRestApi(Construct scope, string id, IStepFunctionsRestApiProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IStepFunctionsRestApiProps
Implements
Constructs.IConstruct
Constructs.IDependable