Interface ProjectProps
- All Superinterfaces:
CommonProjectProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProjectProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:12.999Z")
@Stability(Stable)
public interface ProjectProps
extends software.amazon.jsii.JsiiSerializable, CommonProjectProps
Example:
Repository ecrRepository; Project.Builder.create(this, "Project") .environment(BuildEnvironment.builder() .buildImage(WindowsBuildImage.fromEcrRepository(ecrRepository, "v1.0", WindowsImageType.SERVER_2019)) // optional certificate to include in the build image .certificate(BuildEnvironmentCertificate.builder() .bucket(Bucket.fromBucketName(this, "Bucket", "my-bucket")) .objectKey("path/to/cert.pem") .build()) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forProjectProps
static final class
An implementation forProjectProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectProps.Builder
builder()
default IArtifacts
Defines where build artifacts will be stored.default List<IArtifacts>
The secondary artifacts for the Project.The secondary sources for the Project.default ISource
The source of the build.Methods inherited from interface software.amazon.awscdk.services.codebuild.CommonProjectProps
getAllowAllOutbound, getBadge, getBuildSpec, getCache, getCheckSecretsInPlainTextEnvVariables, getConcurrentBuildLimit, getDescription, getEncryptionKey, getEnvironment, getEnvironmentVariables, getFileSystemLocations, getGrantReportGroupPermissions, getLogging, getProjectName, getQueuedTimeout, getRole, getSecurityGroups, getSsmSessionPermissions, getSubnetSelection, getTimeout, getVisibility, getVpc
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArtifacts
Defines where build artifacts will be stored.Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.
Default: NoArtifacts
-
getSecondaryArtifacts
The secondary artifacts for the Project.Can also be added after the Project has been created by using the
Project#addSecondaryArtifact
method.Default: - No secondary artifacts.
- See Also:
-
getSecondarySources
The secondary sources for the Project.Can be also added after the Project has been created by using the
Project#addSecondarySource
method.Default: - No secondary sources.
- See Also:
-
getSource
The source of the build.Note: if
NoSource
is given as the source, then you need to provide an explicitbuildSpec
.Default: - NoSource
-
builder
- Returns:
- a
ProjectProps.Builder
ofProjectProps
-