@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:01.873Z") @Stability(value=Experimental) public interface StepFunctionsRestApiProps extends software.amazon.jsii.JsiiSerializable, RestApiProps
Example:
Pass stateMachineDefinition = new Pass(this, "PassState");
IStateMachine stateMachine = StateMachine.Builder.create(this, "StateMachine")
.definition(stateMachineDefinition)
.stateMachineType(StateMachineType.EXPRESS)
.build();
StepFunctionsRestApi.Builder.create(this, "StepFunctionsRestApi")
.deploy(true)
.stateMachine(stateMachine)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StepFunctionsRestApiProps.Builder
A builder for
StepFunctionsRestApiProps |
static class |
StepFunctionsRestApiProps.Jsii$Proxy
An implementation for
StepFunctionsRestApiProps |
| Modifier and Type | Method and Description |
|---|---|
static StepFunctionsRestApiProps.Builder |
builder() |
default Boolean |
getHeaders()
(experimental) Check if header is to be included inside the execution input.
|
default Boolean |
getPath()
(experimental) Check if path is to be included inside the execution input.
|
default Boolean |
getQuerystring()
(experimental) Check if querystring is to be included inside the execution input.
|
default RequestContext |
getRequestContext()
(experimental) Which details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.
|
IStateMachine |
getStateMachine()
(experimental) The default State Machine that handles all requests from this API.
|
getApiKeySourceType, getBinaryMediaTypes, getCloneFrom, getDescription, getEndpointConfiguration, getMinimumCompressionSizegetCloudWatchRole, getDeploy, getDeployOptions, getDisableExecuteApiEndpoint, getDomainName, getEndpointExportName, getEndpointTypes, getFailOnWarnings, getParameters, getPolicy, getRestApiName, getRetainDeploymentsgetDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions@Stability(value=Experimental) @NotNull IStateMachine getStateMachine()
This stateMachine will be used as a the default integration for all methods in
this API, unless specified otherwise in addMethod.
@Stability(value=Experimental) @Nullable default Boolean getHeaders()
The execution input will include a new key headers:
{ "body": {}, "headers": { "header1": "value", "header2": "value" } }
Default: false
@Stability(value=Experimental) @Nullable default Boolean getPath()
The execution input will include a new key path:
{ "body": {}, "path": { "resourceName": "resourceValue" } }
Default: true
@Stability(value=Experimental) @Nullable default Boolean getQuerystring()
The execution input will include a new key queryString:
{ "body": {}, "querystring": { "key": "value" } }
Default: true
@Stability(value=Experimental) @Nullable default RequestContext getRequestContext()
The execution input will include a new key requestContext:
{ "body": {}, "requestContext": { "key": "value" } }
Default: - all parameters within request context will be set as false
@Stability(value=Experimental) static StepFunctionsRestApiProps.Builder builder()
builder in interface ResourceOptionsbuilder in interface RestApiBasePropsbuilder in interface RestApiOptionsbuilder in interface RestApiPropsStepFunctionsRestApiProps.Builder of StepFunctionsRestApiPropsCopyright © 2022. All rights reserved.