Enum IntegrationPattern

java.lang.Object
java.lang.Enum<IntegrationPattern>
software.amazon.awscdk.services.stepfunctions.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: