Class HttpStepFunctionsIntegration.Builder
java.lang.Object
software.amazon.awscdk.aws_apigatewayv2_integrations.HttpStepFunctionsIntegration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<HttpStepFunctionsIntegration>
- Enclosing class:
HttpStepFunctionsIntegration
@Stability(Stable)
public static final class HttpStepFunctionsIntegration.Builder
extends Object
implements software.amazon.jsii.Builder<HttpStepFunctionsIntegration>
A fluent builder for
HttpStepFunctionsIntegration.-
Method Summary
Modifier and TypeMethodDescriptionbuild()parameterMapping(ParameterMapping parameterMapping) Specifies how to transform HTTP requests before sending them to the backend.stateMachine(StateMachine stateMachine) Statemachine that Integrates with API Gateway.subtype(HttpIntegrationSubtype subtype) The subtype of the HTTP integration.
-
Method Details
-
create
- Parameters:
id- id of the underlying integration construct. This parameter is required.- Returns:
- a new instance of
HttpStepFunctionsIntegration.Builder.
-
stateMachine
@Stability(Stable) public HttpStepFunctionsIntegration.Builder stateMachine(StateMachine stateMachine) Statemachine that Integrates with API Gateway.- Parameters:
stateMachine- Statemachine that Integrates with API Gateway. This parameter is required.- Returns:
this
-
parameterMapping
@Stability(Stable) public HttpStepFunctionsIntegration.Builder parameterMapping(ParameterMapping parameterMapping) Specifies how to transform HTTP requests before sending them to the backend.When the subtype is either
START_EXECUTIONorSTART_SYNC_EXECUTION, it is necessary to specify theStateMachineArn. Conversely, when the subtype isSTOP_EXECUTION, theExecutionArnmust be specified.Default: - specify only `StateMachineArn`
- Parameters:
parameterMapping- Specifies how to transform HTTP requests before sending them to the backend. This parameter is required.- Returns:
this- See Also:
-
subtype
@Stability(Stable) public HttpStepFunctionsIntegration.Builder subtype(HttpIntegrationSubtype subtype) The subtype of the HTTP integration.Only subtypes starting with STEPFUNCTIONS_ can be specified.
Default: HttpIntegrationSubtype.STEPFUNCTIONS_START_EXECUTION
- Parameters:
subtype- The subtype of the HTTP integration. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<HttpStepFunctionsIntegration>- Returns:
- a newly built instance of
HttpStepFunctionsIntegration.
-