@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.238Z") @Stability(value=Stable) 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 |
getAuthorizer()
If the whole authorizer object, including custom context values should be in the execution input.
|
default Boolean |
getHeaders()
Check if header is to be included inside the execution input.
|
default Boolean |
getPath()
Check if path is to be included inside the execution input.
|
default Boolean |
getQuerystring()
Check if querystring is to be included inside the execution input.
|
default RequestContext |
getRequestContext()
Which details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.
|
default IRole |
getRole()
An IAM role that API Gateway will assume to start the execution of the state machine.
|
IStateMachine |
getStateMachine()
The default State Machine that handles all requests from this API.
|
getApiKeySourceType, getBinaryMediaTypes, getCloneFrom, getEndpointConfiguration, getMinimumCompressionSizegetDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptionsgetCloudWatchRole, getDeploy, getDeployOptions, getDescription, getDisableExecuteApiEndpoint, getDomainName, getEndpointExportName, getEndpointTypes, getFailOnWarnings, getParameters, getPolicy, getRestApiName, getRetainDeployments@Stability(value=Stable) @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=Stable) @Nullable default Boolean getAuthorizer()
The execution input will include a new key authorizer:
{ "body": {}, "authorizer": { "key": "value" } }
Default: false
@Stability(value=Stable) @Nullable default Boolean getHeaders()
The execution input will include a new key headers:
{ "body": {}, "headers": { "header1": "value", "header2": "value" } }
Default: false
@Stability(value=Stable) @Nullable default Boolean getPath()
The execution input will include a new key path:
{ "body": {}, "path": { "resourceName": "resourceValue" } }
Default: true
@Stability(value=Stable) @Nullable default Boolean getQuerystring()
The execution input will include a new key queryString:
{ "body": {}, "querystring": { "key": "value" } }
Default: true
@Stability(value=Stable) @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=Stable) @Nullable default IRole getRole()
Default: - a new role is created
@Stability(value=Stable) static StepFunctionsRestApiProps.Builder builder()
builder in interface ResourceOptionsbuilder in interface RestApiBasePropsbuilder in interface RestApiPropsStepFunctionsRestApiProps.Builder of StepFunctionsRestApiPropsCopyright © 2022. All rights reserved.