Interface ProjectProps
- All Superinterfaces:
CommonProjectProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProjectProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:34.827Z")
@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", "amzn-s3-demo-bucket"))
.objectKey("path/to/cert.pem")
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forProjectPropsstatic final classAn implementation forProjectProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ProjectProps.Builderbuilder()default IArtifactsDefines where build artifacts will be stored.default List<IArtifacts> The secondary artifacts for the Project.The secondary sources for the Project.default ISourceThe source of the build.Methods inherited from interface software.amazon.awscdk.services.codebuild.CommonProjectProps
getAllowAllOutbound, getAutoRetryLimit, getBadge, getBuildSpec, getCache, getCheckSecretsInPlainTextEnvVariables, getConcurrentBuildLimit, getDescription, getEncryptionKey, getEnvironment, getEnvironmentVariables, getFileSystemLocations, getGrantReportGroupPermissions, getLogging, getProjectName, getQueuedTimeout, getRole, getSecurityGroups, getSsmSessionPermissions, getSubnetSelection, getTimeout, getVisibility, getVpcMethods 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#addSecondaryArtifactmethod.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#addSecondarySourcemethod.Default: - No secondary sources.
- See Also:
-
getSource
The source of the build.Note: if
NoSourceis given as the source, then you need to provide an explicitbuildSpec.Default: - NoSource
-
builder
- Returns:
- a
ProjectProps.BuilderofProjectProps
-