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.101.0 (build b95fe5d)", date="2024-07-05T20:26:39.282Z") @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 project = Project.Builder.create(this, "Project")
         .projectName("MyTestProject")
         .buildSpec(BuildSpec.fromObjectToYaml(Map.of(
                 "version", 0.2,
                 "batch", Map.of(
                         "build-list", List.of(Map.of(
                                 "identifier", "id",
                                 "buildspec", "version: 0.2\nphases:\n  build:\n    commands:\n      - echo \"Hello, from small!\""))))))
         .build();
 project.enableBatchBuilds();
 CodeBuildStartBuildBatch task = CodeBuildStartBuildBatch.Builder.create(this, "buildBatchTask")
         .project(project)
         .integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
         .environmentVariablesOverride(Map.of(
                 "test", BuildEnvironmentVariable.builder()
                         .type(BuildEnvironmentVariableType.PLAINTEXT)
                         .value("testValue")
                         .build()))
         .build();
 

See Also: