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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCodeBuildStartBuildBatchProps
static final class
An 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.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
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
-