Interface StepFunctionsRestApiProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ResourceOptions,RestApiBaseProps,RestApiProps
- All Known Implementing Classes:
StepFunctionsRestApiProps.Jsii$Proxy
Example:
IStateMachine machine;
StepFunctionsRestApi.Builder.create(this, "StepFunctionsRestApi")
.stateMachine(machine)
.useDefaultMethodResponses(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forStepFunctionsRestApiPropsstatic final classAn implementation forStepFunctionsRestApiProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default BooleanIf the whole authorizer object, including custom context values should be in the execution input.default BooleanCheck if header is to be included inside the execution input.default BooleangetPath()Check if path is to be included inside the execution input.default BooleanCheck if querystring is to be included inside the execution input.default RequestContextWhich details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.default IRolegetRole()An IAM role that API Gateway will assume to start the execution of the state machine.The default State Machine that handles all requests from this API.default BooleanWhether to add default response models with 200, 400, and 500 status codes to the method.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.apigateway.ResourceOptions
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptionsMethods inherited from interface software.amazon.awscdk.services.apigateway.RestApiBaseProps
getCloudWatchRole, getCloudWatchRoleRemovalPolicy, getDeploy, getDeployOptions, getDescription, getDisableExecuteApiEndpoint, getDomainName, getEndpointConfiguration, getEndpointExportName, getEndpointTypes, getFailOnWarnings, getParameters, getPolicy, getRestApiName, getRetainDeploymentsMethods inherited from interface software.amazon.awscdk.services.apigateway.RestApiProps
getApiKeySourceType, getBinaryMediaTypes, getCloneFrom, getMinCompressionSize, getMinimumCompressionSize
-
Method Details
-
getStateMachine
The default State Machine that handles all requests from this API.This stateMachine will be used as a the default integration for all methods in this API, unless specified otherwise in
addMethod. -
getAuthorizer
If the whole authorizer object, including custom context values should be in the execution input.The execution input will include a new key
authorizer:{ "body": {}, "authorizer": { "key": "value" } }
Default: false
-
getHeaders
Check if header is to be included inside the execution input.The execution input will include a new key
headers:{ "body": {}, "headers": { "header1": "value", "header2": "value" } }
Default: false
-
getPath
Check if path is to be included inside the execution input.The execution input will include a new key
path:{ "body": {}, "path": { "resourceName": "resourceValue" } }
Default: true
-
getQuerystring
Check if querystring is to be included inside the execution input.The execution input will include a new key
queryString:{ "body": {}, "querystring": { "key": "value" } }
Default: true
-
getRequestContext
Which details of the incoming request must be passed onto the underlying state machine, such as, account id, user identity, request id, etc.The execution input will include a new key
requestContext:{ "body": {}, "requestContext": { "key": "value" } }
Default: - all parameters within request context will be set as false
-
getRole
An IAM role that API Gateway will assume to start the execution of the state machine.Default: - a new role is created
-
getUseDefaultMethodResponses
Whether to add default response models with 200, 400, and 500 status codes to the method.Default: true
-
builder
- Returns:
- a
StepFunctionsRestApiProps.BuilderofStepFunctionsRestApiProps
-