Enum IntegrationPattern
- All Implemented Interfaces:
Serializable
,Comparable<IntegrationPattern>
,java.lang.constant.Constable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:24.321Z")
@Stability(Stable)
public enum IntegrationPattern
extends Enum<IntegrationPattern>
AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patterns:
Example:
import software.amazon.awscdk.services.codebuild.*; Project codebuildProject = Project.Builder.create(this, "Project") .projectName("MyTestProject") .buildSpec(BuildSpec.fromObject(Map.of( "version", "0.2", "phases", Map.of( "build", Map.of( "commands", List.of("echo \"Hello, CodeBuild!\"")))))) .build(); CodeBuildStartBuild task = CodeBuildStartBuild.Builder.create(this, "Task") .project(codebuildProject) .integrationPattern(IntegrationPattern.RUN_JOB) .environmentVariablesOverride(Map.of( "ZONE", BuildEnvironmentVariable.builder() .type(BuildEnvironmentVariableType.PLAINTEXT) .value(JsonPath.stringAt("$.envVariables.zone")) .build())) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStep Functions will wait for an HTTP response and then progress to the next state.Step Functions can wait for a request to complete before progressing to the next state.Callback tasks provide a way to pause a workflow until a task token is returned. -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegrationPattern
Returns the enum constant of this type with the specified name.static IntegrationPattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REQUEST_RESPONSE
Step Functions will wait for an HTTP response and then progress to the next state.- See Also:
-
RUN_JOB
Step Functions can wait for a request to complete before progressing to the next state.- See Also:
-
WAIT_FOR_TASK_TOKEN
Callback tasks provide a way to pause a workflow until a task token is returned.You must set a task token when using the callback pattern
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-