Interface CodeBuildStartBuildBatchProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateBaseProps
- All Known Implementing Classes:
CodeBuildStartBuildBatchProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.070Z")
@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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCodeBuildStartBuildBatchPropsstatic final classAn implementation forCodeBuildStartBuildBatchProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default Map<String, BuildEnvironmentVariable> A set of environment variables to be used for this build only.CodeBuild project to start.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonataCommonOptions
getOutputsMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getResultPath, getResultSelector
-
Method Details
-
getProject
CodeBuild project to start. -
getEnvironmentVariablesOverride
@Stability(Stable) @Nullable default Map<String,BuildEnvironmentVariable> getEnvironmentVariablesOverride()A set of environment variables to be used for this build only.Default: - the latest environment variables already defined in the build project.
-
builder
-