Interface CodeBuildStartBuildBatchProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
All Known Implementing Classes:
CodeBuildStartBuildBatchProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:14.482Z") @Stability(Stable) public interface CodeBuildStartBuildBatchProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
Properties for CodeBuildStartBuildBatch.

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();