Interface ProjectProps
- All Superinterfaces:
CommonProjectProps
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ProjectProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:41.840Z")
@Stability(Stable)
public interface ProjectProps
extends software.amazon.jsii.JsiiSerializable, CommonProjectProps
Example:
Bucket bucket; Project project = Project.Builder.create(this, "MyProject") .buildSpec(BuildSpec.fromObject(Map.of( "version", "0.2"))) .artifacts(Artifacts.s3(S3ArtifactsProps.builder() .bucket(bucket) .includeBuildId(false) .packageZip(true) .path("another/path") .identifier("AddArtifact1") .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, getSubnetSelection, getTimeout, 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(software.amazon.awscdk.services.codebuild.IArtifacts)
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(software.amazon.awscdk.services.codebuild.ISource)
method.Default: - No secondary sources.
- See Also:
-
getSource
The source of the build.*Note*: if
invalid @link
NoSource
Default: - NoSource
-
builder
- Returns:
- a
ProjectProps.Builder
ofProjectProps
-